Error: JAVA_HOME is not defined correctly.
Dominik 'des' Szynk
domeks at interia.pl
Sat Dec 10 15:14:32 UTC 2005
Chris Woods napisaĆ(a):
> 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
>
I mean all depends where you unpack java libs. I have jdk in
/usr/java/xxx which is maybe not the right dir but it works on my
machine ;-)
--
Regards
Dominik Szynk
--
----------------------------------------------------------------------
INTERIA.PL | Kliknij po wiecej >>> http://link.interia.pl/f18c1
More information about the ubuntu-users
mailing list