Re: j2skd1.4.0beta-i386.rpm to deb; will it work ?
On Mon, Aug 19, 2002 at 03:07:39PM +0530, Dr. Sachin Kale wrote:
> But still I am not able to run the javac command from other
> directories. & even in the bin directory of the compiler I have to
> type ./javac ( just javac is not enough ) to do anything.
The current directory should never ever be in your path, so I'm not too
> export JAVA_HOME=/usr/java/j2sdk1.4.0
> export PATH=$JAVA_HOME/bin:$PATH
So what is $PATH really? You set it twice here. Try 'echo $PATH' from a
shell. Is /usr/java/j2sdk1.4.0/bin/javac definitely the thing you're
trying to execute?
Colin Watson [email@example.com]