PDA

View Full Version : [ubuntu] java



lanceps
May 10th, 2009, 08:00 PM
how do u install and compile java programs in ubuntu/linux

i used to use blue j in windows can anyone suggest a good ide in linux

SunnyRabbiera
May 10th, 2009, 08:03 PM
well there is the java development kit...

lanceps
May 10th, 2009, 08:07 PM
how do u use that in linux, sorry i know only how to compile java programs in blue j

lanceps
May 10th, 2009, 08:24 PM
is eclipse a good ide

MontelEdwards
May 10th, 2009, 08:50 PM
sudo aptitude install ubuntu-restricted-extras

The Cog
May 10th, 2009, 09:29 PM
First, install Suns java JDK. You can do this with the command sudo aptitude install sun-java6-jdk.

Second, Bluej has a .jar installer that runs on Linux.
http://www.bluej.org/download/files/bluej-251.jar
Just download the file and run the command java -jar bluej-251.jar

However, although I really like the object bench and connectivity diagrams, I find the editor intolerable because of hte poor fonts. I recommend you install geany and use that as your editor. It has a compile button.

You really should find out how to compile without relying on an IDE though.