![]() ![]() Step 6: Check for "open jdk" installation, just type command in "Terminal" as shown below java export PATH=/usr/lib/jvm/java-6-openjdk/bin Step 5: For "PATH" (Environment Variable) type command as shown below, in "Terminal" using your installation path. ![]() (Note: "/usr/lib/jvm/java-6-openjdk" is symbolically used here just for demostration you should use your path as per your installation.) export JAVA_HOME=/usr/lib/jvm/java-6-openjdk Step 4: For "JAVA_HOME" (Environment Variable) type command as shown below, in "Terminal" using your installation path. How to set "Environment Variables" for "Open jdk" in Ubuntu(Linux)? (Note: openjdk-6-jdk is symbolically used here you can choose jdk version as per your requirment.) ![]() Step 1: Open Applicaction> Accessories> Terminal Here I can use for example: sudo update-alternatives -install "/usr/bin/java" "java" \įinally i have to set the JAVA_HOME variable by adding the lines: JAVA_HOME=/usr/lib/jvm/jdk/īut the problem: This way i always have to update my alternatives whenever i upgrade my jdk right? How can i solve this?Ĭan anybody give a clear description how to install the jdk on linux systems in a clever and correct way? copied the content of the file to the chosen location, i have to setup my system to refer to the jdk. WHERE is the correct/best location to install the downloaded JDK? (most people prefer something like usr/lib/jvm. I've spent some time to google for it, but i was not able to find a clear description of how to install (and configure) it. I am running the debian based Crunchbang linux system and i want to install the Oracle JDK (not openjdk) on my system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |