SecureCube.com

30Jun/090

Change Java version on Debian

Type the following commands to change the default:

sudo update-alternatives --config java

You can also add a new java version if you would like by using the following commands:

sudo update-alternatives --install "/usr/bin/java" "java" "<java_binary_file_path>" 1
sudo update-alternatives --set java <java_binary_file_path>
Filed under: Linux Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.