Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Problem running Eclipse

  • 12-07-2012 6:55pm
    #1
    Closed Accounts Posts: 8,199 ✭✭✭


    I just installed Eclipse but when I try to run it, I am getting the following error:

    "A java runtime environment or Java Development Kit must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:
    C:\users\g-money\documents\eclipse\jre\bin\javaw.exe
    Javaw.exe in your current PATH"

    Not sure what's going on here. I already have the java runtime installed.

    Do I have to set some variable somewhere in order to get Eclipse to run?


Comments

  • Registered Users, Registered Users 2 Posts: 5,246 ✭✭✭conor.hogan.2


    It needs to be in your path/under the eclipse bin folder.

    Google the error, there is 100's of pages discussing it.


  • Closed Accounts Posts: 8,199 ✭✭✭G-Money


    I was Googling it last night but wasn't really finding a clear answer. Although I didn't spend ages on it either.

    So I have to install the Java Runtime to the eclipse folder?


  • Registered Users, Registered Users 2 Posts: 2,013 ✭✭✭lynchie


    Add the jre path to your system path.


  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    Then verify the path is working by opening a command prompt and trying to run java. If it says command not found then your path is set wrong.

    Some gotchas when setting path: having a space between items will terminate the parsing.

    %ITEM1 ;%ITEM2 will only have first item in path
    %ITEM1;%ITEM2 is correct
    "c:\oh hai"; "d:\dev\java shizzle\jdk1.7" won't work
    "c:\oh hai";"d:\dev\java shizzle\jdk1.7" is correct


  • Closed Accounts Posts: 326 ✭✭whitesands


    As others have said it's the PATH
    See here http://java.com/en/download/help/path.xml


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 25 sakiboy




  • Closed Accounts Posts: 8,199 ✭✭✭G-Money


    I eventually got this working. I added the location of javaws.exe to the path which got rid of that error and produced a new one. I ended up installing the Java SDK too and a different version of Eclipse and things started to work then.

    Thanks for the help.


Advertisement