linux change java
sudo update-alternatives --config javasudo update-java-alternatives -s java-8-oracle
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
export PATH=$PATH:$JAVA_HOME
123
Also in Java:
- java stream to list
- binary number input in int java
- write an infinite loop java
- length of string java
- how to add an object to a list of objects in java
- java 8 list stream delete by name
- java scanner
- loop java
- get current unix timestamp java
- how to remove components from a JFRame java
- count word in string no matter the delimiter java
- get first 5 characters of string java
- while loops java
- java bucket sort
- java loop hashmap
- java initialize string array
- java create folder
- bukkit java get max players
- java 8 seconds to days
- how to make a loop in java
- how to initialize main in java
- finding min and max from given number in java
- how to calculate min, max and average and write the output into into a text file in java
- java linked list functions