5

Question about setting up Geany and Java

view full story
linux-howto

http://ubuntuforums.org – I just installed Geany on Ubuntu 11.10 and I'm having trouble setting it up to run a small GUI applet. I tested a basic console app and it worked fine, but whenever I try to compile the GUI app, I get the following error: Exception in thread "main" java.lang.NoSuchMethodError: main In the compiler, it says "/bin/sh: javac: not found" From the looks of it, java isn't installed properly (i checked using whereis javac in the terminal and the it just said javac:) So I guess my question is, how should I install Java (I know there's a bunch of different ones out there like OpenJD (Hardware)