Add new comment
|
The path /usr/java/latest/bin/java should actually point to where java was extracted. So, if you extract java to: /usr/jre<version>, then that command should be: /usr/sbin/alternatives --install /usr/bin/java java /usr/jre<version>/bin/java 2 If you simply copy and paste what's existing, then you'll get problems when you go: which java It'll complain that it can't find java in the path, like so: [root@localhost ~]# java -version And: [root@localhost ~]# which java
Reply |




Recent comments
40 min 34 sec ago
54 min 14 sec ago
2 hours 5 min ago
3 hours 27 min ago
11 hours 21 min ago
16 hours 47 min ago
17 hours 49 min ago
18 hours 35 min ago
20 hours 41 min ago
20 hours 51 min ago