To Switch of Java Version Just Enter the Reference Number on First, Column. Step-1: Download JDK 8 for Windows 11 64-bit To download the updated JDK 8u331 (as of April 2022) software, visit its official website Oracle Website’s Java, go to ‘ Java SE Development Kit 8u331 ‘, and click on the link jdk-8u331-windows-圆4.exe as shown in the below image. 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 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/ ![]() ![]() 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* ![]() Now, changing up a version JDK 1.8 to OpenJDK 1.11 you might need. If Got “User is Not in Sudoers file” then Look: If you or the jar files you use didnt make native calls this should be all that is needed.
0 Comments
Leave a Reply. |