java compile and run program help

view story

http://www.unix.com – What is the trick to get a java program to run and compile? I can't even get a basic skeleton to run and compile. What packages do I need? I figured the java-gcj and gcc-java packages was enough. Do I need any other packages? I thought I had to do this and it would work but its not. Code: javac square.java java square ---------- Post updated 10-07-12 at 12:51 AM ---------- Previous update was 10-06-12 at 11:33 PM ---------- I forgot to say in Fedora. (HowTos)