PDA

View Full Version : [ubuntu] compiling java



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

zvacet
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.

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

sujoy
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