SpaceInvaders

F18 vs F20 java

Jul 30th, 2014
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. 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?
  2.  
  3. [root@p7-1456c plugins]# alternatives --config java
  4.  
  5. There are 4 programs which provide 'java'.
  6.  
  7. Selection Command
  8. -----------------------------------------------
  9. + 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
  10. * 2 /usr/java/default/bin/java
  11. 3 /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.5.0.1.fc20.x86_64/jre/bin/java
  12. 4 /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java
  13.  
  14. Enter to keep the current selection[+], or type selection number:
  15. [root@p7-1456c plugins]# ls -l /usr/lib/jvm
  16. total 8
  17. 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
  18. drwxr-xr-x 3 root root 4096 May 16 09:15 java-1.8.0-openjdk-1.8.0.5.x86_64
  19. lrwxrwxrwx 1 root root 21 Jul 30 17:54 jre -> /etc/alternatives/jre
  20. lrwxrwxrwx 1 root root 27 Jul 1 08:45 jre-1.7.0 -> /etc/alternatives/jre_1.7.0
  21. lrwxrwxrwx 1 root root 35 Jul 1 08:45 jre-1.7.0-openjdk -> /etc/alternatives/jre_1.7.0_openjdk
  22. 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
  23. lrwxrwxrwx 1 root root 27 Jun 24 16:19 jre-1.8.0 -> /etc/alternatives/jre_1.8.0
  24. 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
  25. lrwxrwxrwx 1 root root 29 Jul 1 08:45 jre-openjdk -> /etc/alternatives/jre_openjdk
  26.  
  27. [root@p7-1456c plugins]# ls /usr/java
  28. ls: cannot access /usr/java: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment