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)
/m
----- Original Message -----
From: "hans schneidhofer" <[EMAIL PROTECTED]>
To: "mdk-expert-list" <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 15:22
Subject: [expert] j2sdk just a little help ...
> hi,
> have downloaded the jDictionary and had to install first the
> java-runtime-einvironment - so far so good, but I don't have any idea
> nor experiences with java, so I should know, what I have to doafter a
> succesful install of this file :
>
> j2sdk-1_4_0_02-linux-i586-rpm.bin
> first I does a simple run on it then I got :
> j2sdk-1_4_0_02-fcs-linux-i586.rpm
> after that I made aslo a simple rpm -Uvh
> j2sdk-1_4_0_02-fcs-linux-i586.rpm
>
> the install-procedure shows a successfully installation, but what I have
> to do as a next step, so I van do such a thing like :
> java -jar jdictionary.jar
>
> was looking now for a few hours, where I can see some hints, but cannot
> find any useful hints - so I'm hoping to get some from here
>
> thanks in advance one more time
> bye hans
>
>
>
>
>
--------------------------------------------------------------------------------
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com