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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -