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