I'm installing Eclipse Juno for my son, who is trying to learn Java. I can start Eclipse OK and create a simple 'Hello world' program, but when I try to run my code it won't output to console. When I write a simple program that should pop open a window, I'm not able to even do that. Both programs appear to compile OK - I can go to my
folder and they will run just fine using
I thought that the issue might be that it wasn't locating the java binary, so I inserted the following lines into my global /etc/eclipse.ini file:
but this didn't work. I have the same issues when I install Indigo from the Ubuntu repo, so I don't think it's something with Eclipse itself.
Other folks obviously run it successfully on Ubuntu 12.04. What am I missing?
PS - In case it matters, I'm using:
java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.04.1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)