2. type “java -version” and press enter. if you are able to see the JDK version information then use the below 3rd step otherwise go to step 4.

3. Set JAVA_HOME into environment variable, Copy following statement and append to /etc/profile or .bashrc file, make system set JAVA_HOME into system environment variable.export JAVA_HOME=”/usr/lib/jvm/java-6-sun-1.6.0.06;”

4 You need to setup JDK. Open the terminal, and type the below command.apt-get install sun-java6-jdk sun-java6-jre
Once installation done, you can perform the step 3 to set the java_home.

Pages

Disclaimer*

All data and information provided on this site is for informational purposes only. This site makes no representations as to accuracy, completeness, correctness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis.This is a personal weblog. The opinions expressed here represent my own and not those of my employer or any other organization.