Error: JAVA_HOME is not defined correctly.

leon sdl.web at gmail.com
Sat Dec 10 21:46:26 UTC 2005


Chris Woods <chris at bitspace.org> writes:

 | I'm somewhat amazed that out of the nearly dozen or so responses, not
 | a single one was even close to correct.
 | 
 | You want to create an environment variable called "JAVA_HOME" that
 | references the base directory of the installation of your JRE or
 | JDK. For example, on my machine, I've got Sun's JDK 1.5.0_05 in
 | /usr/local/java/jdk1.5_05. In my .profile ($HOME/.profile) I've put
 | the following two lines:
 | 
 | JAVA_HOME="/usr/local/java/jdk1.5_05"
 | export JAVA_HOME
 | 
 | Easy as pie. If you just want to set it temporarily for your current shell:
 | 
 | export JAVA_HOME="/usr/local/java/jdk1.5_05"
 | 
 | HTH,
 | Chris

It seems to me if you set anything in .profile and login with GDM, you
got nothing set all.

-- 
.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. 
.     *                               . 
.    /.\        Merry Christmas       . 
.   /..'\                             . 
.   /'.'\                  -- Leon    . 
.  /.''.'\                            . 
.  /.'.'.\                            . 
. /'.''.'.\                           . 
. ^^^[_]^^^                           . 
.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. 





More information about the ubuntu-users mailing list