Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In the detail below, is /usr/java/default/bin/java left over from f18 and no longer valid given the directory doesn't even exist? Should it be removed from the alternatives list?
- [root@p7-1456c plugins]# alternatives --config java
- There are 4 programs which provide 'java'.
- Selection Command
- -----------------------------------------------
- + 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
- * 2 /usr/java/default/bin/java
- 3 /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/jre/bin/java
- 4 /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java
- Enter to keep the current selection[+], or type selection number:
- [root@p7-1456c plugins]# ls -l /usr/lib/jvm
- total 8
- drwxr-xr-x 4 root root 4096 Jul 1 08:43 java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64
- drwxr-xr-x 3 root root 4096 May 16 09:15 java-1.8.0-openjdk-1.8.0.5.x86_64
- lrwxrwxrwx 1 root root 21 Jul 30 17:54 jre -> /etc/alternatives/jre
- lrwxrwxrwx 1 root root 27 Jul 1 08:45 jre-1.7.0 -> /etc/alternatives/jre_1.7.0
- lrwxrwxrwx 1 root root 35 Jul 1 08:45 jre-1.7.0-openjdk -> /etc/alternatives/jre_1.7.0_openjdk
- lrwxrwxrwx 1 root root 51 Jul 1 08:43 jre-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64 -> java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/jre
- lrwxrwxrwx 1 root root 27 Jun 24 16:19 jre-1.8.0 -> /etc/alternatives/jre_1.8.0
- lrwxrwxrwx 1 root root 37 Jun 24 16:19 jre-1.8.0-openjdk.x86_64 -> java-1.8.0-openjdk-1.8.0.5.x86_64/jre
- lrwxrwxrwx 1 root root 29 Jul 1 08:45 jre-openjdk -> /etc/alternatives/jre_openjdk
- [root@p7-1456c plugins]# ls /usr/java
- ls: cannot access /usr/java: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment