Hi!
Read this:
http://www.linuxquestions.org/questi...40#post1841740
I also assume that you are using J2SDK ratter then JRE, since JRE does not come with javac, only the runtime environment. To run your programs the syntax is
java <classname> without the extension (.class) and to compile it's
javac classname.java
Check Sun's documentation and tutorials related to Java if you are totally new to this
Good luck!