Marco Romeny wrote:
>   unfortunately it installs in its own directory.
> 
> try rpm -ql j2sdk to find the base directory
> on mine it's /usr/java/j2sdk1.4.0
> 
> so, in my case I would do:
> 
> export JAVA_HOME="/usr/java/j2sdk1.4.0"
> export PATH=JAVA_HOME/bin:$PATH
> 
> recommended to put those lines in your .bashrc
> or /etc/bashrc (or in a j2sdk.sh script in /etc/profile.d)
> 

according to the information on Sun's site though the installation rpm's 
should be setting the path to where Java can be found. something I've 
noticed about 8.2 and 9.0 is that when issuing the "which java" command 
one is usually presented with the following output:

                /usr/bin/java

I also noticed that before I even installed j2sdk1.4.0_01 that I was 
able to both compile .java source files, but also run them from the 
commandline which indicated to me that at least the most fundamental 
parts of java were already installed on the system. Heck! I'm not even 
sure if I'm using them when I do work on the system that requires the 
java compiler or run libs.

Mark



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to