1

I'm having problems running a simple java program "Hello world"

i had installed the Eclipse Java EE IDE from eclipse site and before it i had installed jdk

enter image description here

enter image description here

enter image description here

btw im using ubuntu 14.04

Any ideas ?

  • 1
    This is an eclipse issue. You can try this solution link – amitksaini Apr 21 '14 at 9:44
0

Open Eclipse -> Window -> Preferences -> Java -> Installed JRE -> Click Add -> Select Standard VM -> Window will open, enter this

JRE home : /usr/lib/jvm/java-7-openjdk-amd64

JRE name : It will automatically fill with one name

Next -> Finish

Restart your Eclipse & you are good to go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.