NBEclipse won't start

Topics for the Eclipse Environment
Post Reply
stockel
Posts: 6
Joined: Wed Jun 17, 2009 10:16 am

NBEclipse won't start

Post 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
User avatar
Forrest
Posts: 288
Joined: Wed Apr 23, 2008 10:05 am

Re: NBEclipse won't start

Post 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
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
stevep
Posts: 16
Joined: Fri Apr 25, 2008 6:34 am

Re: NBEclipse won't start

Post 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".
stockel
Posts: 6
Joined: Wed Jun 17, 2009 10:16 am

Re: NBEclipse won't start

Post 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
mphouston
Posts: 2
Joined: Sun Mar 14, 2010 12:49 pm

Re: NBEclipse won't start

Post 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.
Post Reply