[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
> CLASSPATH=.:/usr/java/j2sdk1.4.0/lib:/usr/java/j2sdk1.4.0/jre/lib
> export JAVA_HOME=/usr/java/j2sdk1.4.0
> export PATH=$JAVA_HOME/bin:$PATH
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/po
> stgresql/bin:/usr/java/j2sdk1.4.0/bin"

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                                  [cjwatson@flatline.org.uk]

Reply to: