Add new comment
Want to support HowtoForge? Become a subscriber!
|
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
18 hours 35 min ago
22 hours 19 min ago
22 hours 29 min ago
22 hours 35 min ago
1 day 20 min ago
1 day 4 hours ago
1 day 15 hours ago
3 days 59 min ago
3 days 5 hours ago
3 days 5 hours ago