Silahkan Melihat Tutorial di website kami dengan nyaman ENJOY YOUR LIFE ☕

How to upgrade java version

[omss@ptud ~]$ java -version
java version "1.7.0_65"

[root@ptud omss]# ln -s -v /home/omss/jdk/bin/java /usr/bin/java
`/usr/bin/java' -> `/home/omss/jdk/bin/java'

[root@ptud omss]# ln -s -v /home/omss/jdk/bin/javac /usr/bin/javac
ln: creating symbolic link `/usr/bin/javac': File exists
[root@ptud omss]# rm -fr  /usr/bin/javac
[root@ptud omss]# ln -s -v /home/omss/jdk/bin/javac /usr/bin/javac
`/usr/bin/javac' -> `/home/omss/jdk/bin/javac'

[root@ptud omss]# java -version
java version "1.7.0_80"




0 komentar:

Post a Comment

How to upgrade java version