![]() home/user9679/.sdkman/candidates/java/current/bin:/home/user9679/.sdkman/candidates/gradle I changed JAVA_HOME and PATH to use Java 11, but it still changed nothing: $ echo $PATH Then I switched, run java -version and have the same version as it was - Java 8: $ java -version Press to keep the current choice, or type selection number: 1īefore it I have used Java 8 and selection was set on /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java. * 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto modeġ /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual modeĢ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode There are 2 choices for the alternative java (providing /usr/bin/java). I'm using that command and have this output: $ sudo update-alternatives -config java I want to switch my java version with the command update-alternatives -config java, but I don't see any changes after that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |