linux - The JAVA_HOME environment variable is not defined. How to fix in ubuntu 12.04? -


the java_home environment variable not defined environment variable needed run program.

how fix in ubuntu 12.04?

probably more question http://ubuntuforums.org/

that said, can do:

export java_home='path/to/your/java/installation'

and add same line .bashrc file have done every time log in.

beware, if install java using apt-get, should not have set java_home environmnent variable.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -