[ILUG-BOM] problem with java

Manish Jethani cruisecoder@[EMAIL-PROTECTED]
Sat Jul 21 20:10:05 IST 2001


Sometime today, tushar kanti mohanty wrote:

> try to run the .class file with java .class filename (without
> ofcourse the .class extension ) nothing happens the shell
> hangs cause idont get the commandprompt again.initially i

Modify your PATH variable to add the path to the JDK binaries in
the beginning.

JDK_DIR=/usr/local/jdk1.3.1
# Modify above to suit you.

export PATH=$JDK_DIR/bin:$PATH

I think that's all you need to do, and it'll ignore kaffe and go
to jdk straight.  :)  Just make sure you pass the _class_name_
to java, NOT the _class_file_name_.  Should work.

Manish

-- 
You have a deep appreciation of the arts and music.





More information about the Linuxers mailing list