![]() ![]() So which number should I select to have sun-java as the default runtime? Also, what exactly do the auto and manual modes mean? If I select 3 above and run the update-alternative command I receive the same output as above, again nothing seems to have changed except the * is now in front of the 3, though it still reads manual mode. Press enter to keep the current choice, or type selection number: * 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto modeĢ /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual modeģ /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode There are 3 choices for the alternative java (providing /usr/bin/java). You can select which one to install from the listed options. Method 1 - using the update-alternatives command The update-alternatives command (also 'alternatives' on some SUSE Linux platforms) can be used to modify the /etc/alternatives/ symbolic links to point to different binaries. Then I was told to use the command sudo update-alternatives -config java to make sure that a particular java is the default runtime. The command displays all the available Java versions. Thasts because you have altered IFS variable to use. I have been instructed to install sun-java JDK 1st. those in /usr/lib/jvm/.java-1.8.0-openjdk-amd64.jinfo and /usr/lib/jvm/.java-1.11.0-openjdk-amd64.jinfo in your case. ![]() sudo update-alternatives -display java java - auto mode link best version. I am installing Apache Solr on Linux Debian. The alternatives system provides the update-alternatives command to create. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |