View Full Version : [ubuntu] compiling java

July 9th, 2008, 03:02 PM
in order to compile java should i install "gcj" or sun jdk?

July 9th, 2008, 03:14 PM
Why do you want to compile Java?You can install it from synaptic.Type in search box sun and choose Java version you want/need.

July 9th, 2008, 03:16 PM
I'd use a pre-compiled version. What specifically are you trying to achieve?

July 9th, 2008, 03:16 PM
i guess you are trying to compile a java source code?
in that case, grab the jdk and jre.

javac filename.java ->to compile
java filename ->to run