Page 1 of 1

NBEclipse won't start

Posted: Fri Apr 23, 2010 9:31 am
by stockel
Something has changed but I don't know what. I used to have a working installation but now when I try to start NBEclipse I get the error:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run NBEclipse. No Java Virtual machine was found after searching the following locations: C:\nburn\NBEclipse\jre\bin\javaw.exe.

Sure enough there is no directory c:\nburn\NBEclipse\jre, but I do have java installed at C:\Program Files\Java\jre6.

I created a shortcut to the jre6 directory in the NBEclipse directory but it still doesn't work. What is going on?

Thanks in advance for any help.

Jim

Re: NBEclipse won't start

Posted: Fri Apr 23, 2010 3:56 pm
by Forrest
Hmm, I don't think that NBEclipse error message was very helpfull for you. It should not have to be installed in the NBEclipse directory. What version of the JDK is reported when you load this webpage: http://www.javatester.org/version.html

Re: NBEclipse won't start

Posted: Mon Apr 26, 2010 6:06 am
by stevep
Check the JAVA_HOME environment variable to make sure it is correct. In your case it looks like it should be "C:\Program Files\Java\jre6".

Re: NBEclipse won't start

Posted: Mon Apr 26, 2010 10:21 am
by stockel
Forrest,

I am unable to get the the javatester website. When I enter that url I get the message "The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later".

I am guessing that a new version of java was recently installed on this machine. Our IT group pushes updates and installs and does not necessarily keep us well informated. Any other suggestions?

Stevep,

When I looked at environment variables using the Control Panel->System, Advanced tab, there was no JAVA_HOME, so I added one as you suggested but I still got the same error when I tried to start NBEclipse.

Thanks for both of your suggestsion. If you have any others, please let me know.

Regards, Jim

Re: NBEclipse won't start

Posted: Sat Jun 26, 2010 1:39 pm
by mphouston
I didn't have the same symptoms as you, but I did see your original error message before I installed Java. I Installed the 1.6.20 JDK 64 bit into program files and it then failed with an error like: "Terminated with error code=-1".

Turns out I was using the 64 bit version of Java 1.6.20. I uninstalled that and installed the 32-bit version and NBEclipse started up. I doubt this is your problem, but wanted to document this in case anyone else hits the 64/32 bit Java issue :).

I am running Windows 7 64 bit.