hooglagents.blogg.se

Java se development kit 7 update 21 uninstall
Java se development kit 7 update 21 uninstall












java se development kit 7 update 21 uninstall
  1. #JAVA SE DEVELOPMENT KIT 7 UPDATE 21 UNINSTALL MANUAL#
  2. #JAVA SE DEVELOPMENT KIT 7 UPDATE 21 UNINSTALL DOWNLOAD#

You will see output similar to the one below - choose the number of new jdk1.7.0 (folder_name) - for example 2 in this list (unless you have have never installed Java in your computer in which case a sentence saying There is nothing to configure will appear): $ sudo update-alternatives -config java

java se development kit 7 update 21 uninstall

Sudo update-alternatives -install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/folder_name/bin/javaws" "$LNUM" Sudo update-alternatives -install "/usr/bin/javac" "javac" "/usr/lib/jvm/folder_name/bin/javac" "$LNUM" Sudo update-alternatives -install "/usr/bin/java" "java" "/usr/lib/jvm/folder_name/bin/java" "$LNUM" Don't forget replace path_to_jdk_folder and folder_name: LNUM=$ If there is no errors and your java list is not empty, run this set of commands. Sudo update-alternatives -install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/folder_name/bin/javaws" 1 Sudo update-alternatives -install "/usr/bin/javac" "javac" "/usr/lib/jvm/folder_name/bin/javac" 1 Sudo update-alternatives -install "/usr/bin/java" "java" "/usr/lib/jvm/folder_name/bin/java" 1 Sudo mv path_to_jdk_folder /usr/lib/jvm/folder_name Don't forget replace path_to_jdk_folder and folder_name: sudo mkdir /usr/lib/jvm If it is saying update-alternatives: error: no alternatives for java run this set of commands. Run sudo update-alternatives -list java to check if you have configured java already. Path_to_jdk_folder - /home/c0rp/Downloads/jdk1.7.0 I'm assuming that path to this new extracted folder is path_to_jdk_folder and folder name is folder_name, you should manually change it before executing commands below. Check carefully this folder name, because we will use it the next step. The JDK package is extracted into jdk.xxx directory. I took out the instruction and changed it a little bit.

#JAVA SE DEVELOPMENT KIT 7 UPDATE 21 UNINSTALL MANUAL#

Here is great manual about installing java.

#JAVA SE DEVELOPMENT KIT 7 UPDATE 21 UNINSTALL DOWNLOAD#

Oracle may ask you to sign up before download Choose tar.gz depending on your architecture, I highlighted two of them that fits Ubuntu: And you see something like screenshot below. If you unsure what to choose, choose Development Kit - it will cover all your needs Click DownloadĬhoose Java SE 7 on the next page and you will see web-page where you can choose specific Java version. Go to official java download page, scroll down to the bottom of the page until you see Previous Releases.














Java se development kit 7 update 21 uninstall