I am a java newbie. I have been using Eclipse to test a simple java class (named NewHelloWorld) and it runs fine in the console. When I try to do the same thing from a termi
Go to the package root directory (the parent directory of org) and run:
org
java -cp .:$CLASSPATH org.kodeplay.kodejava.NewHelloWorld
Also I wouldn't put . to my CLASSPATH permanently (in .bashrc, .bash_profile or /etc/profile) it may lead to undesired behavior.
.
CLASSPATH
.bashrc
.bash_profile
/etc/profile