![]() To Switch of Java Version Just Enter the Reference Number on First, Column. Installing Oracle Java JDK 8 update-alternatives -install /usr/bin/java java /usr/lib/jvm/jdk1.8*/bin/java 1065 update-alternatives -install /usr/bin/javac javac /usr/lib/jvm/jdk1.8*/bin/javac 1065 update-alternatives -install /usr/bin/jar jar /usr/lib/jvm/jdk1.8*/bin/jar 1065 update-alternatives -install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.8*/bin/javaws 1065Ĭhecking or Setting the System Java Version in Use with update-alternatives -config javaĪnd for the Java Compiler instead: sudo update-alternatives -config javac Only developers and Enterprise administrators should download these releases. For production use Oracle recommends downloading the latest JDK and JRE versions and allowing auto-update. Java SE 8u211 and later updates are available, under the Java SE OTN License. ![]() Reiterate the Execution Permission over the Java binaries chmod -R +x /tmp/jdk1.8*/binįinally, Shift the Java contents with mv /tmp/jdk1.8* /usr/lib/jvm/ These Java SE 8 update releases are provided under the Binary Code License (BCL). ![]() The above Command is used to Create a jvm Directory if not already there.Īnd Set the SuperUser as owner: sudo chown -R root:root /tmp/jdk1.8* If Got “User is Not in Sudoers file” then Look:
0 Comments
Leave a Reply. |