One of the important topic for beginners in linux operation system is the steps of configuring JDK (Java Development Kit). Below are the steps which helped me and I hope that they will do the same in your case also.
Execute below commands by replacing the statements in bold format. Run these commands after logging in super user.
update-alternatives --install /usr/bin/java java /home/zeeshan/Downloads/jdk1.8.0_60/bin/java 100
update-alternatives --install /usr/bin/javac javac /home/zeeshan/Downloads/jdk1.8.0_60/bin/javac 100
To Remove Configuration of JDK use following commands
sudo update-alternatives --remove java home/zeeshan/Downloads/jdk1.8.0_60/bin/java
sudo update-alternatives --remove javac home/zeeshan/Downloads/jdk1.8.0_60/bin/javac
In case if above solution help you then please leave a comment for maximizing credibility of defined solution.
Thanks.
Execute below commands by replacing the statements in bold format. Run these commands after logging in super user.
update-alternatives --install /usr/bin/java java /home/zeeshan/Downloads/jdk1.8.0_60/bin/java 100
update-alternatives --install /usr/bin/javac javac /home/zeeshan/Downloads/jdk1.8.0_60/bin/javac 100
To Remove Configuration of JDK use following commands
sudo update-alternatives --remove java home/zeeshan/Downloads/jdk1.8.0_60/bin/java
sudo update-alternatives --remove javac home/zeeshan/Downloads/jdk1.8.0_60/bin/javac
In case if above solution help you then please leave a comment for maximizing credibility of defined solution.
Thanks.
No comments:
Post a Comment