|Re: Error: could not find Java Runtime Environment [message #555981 is a reply to message #555807]
||Mon, 30 August 2010 13:00
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 8/28/2010 4:39 PM, Tim Berneman wrote:|
> I had the same exact problem with Win7+Eclipse3.6+JRE1.6 and it said it
> couldn't find java. The solution was to add the location of JRE to my
> path variable. To do this on Win7 follow the instructions below (may be
> similar for other Windows versions):
> Right-click "My Computer", select "Advanced system settings" on the
> left, Click on the "Environment Variables..." button in the System
> Properties dialog.
> In the Environment Variables dialog scroll through the System variables
> and click on the "Path" variable, click the "Edit..." button.
> In the Edit System Variable dialog click in the Variable value text box,
> scroll to the end of it, and then add a semi-colon ";" (to separate
> different paths) and then add the path to the JRE, in my case it was
> "C:\Program Files\Java\jre6\bin" which is the default location. Click
> the "OK" button, "OK" again, and "OK" one last time.
> Try running Eclipse now. That's all I had to do. Hope this helps others
> out there.
> Tim :o]
You should instead associate a JDK (not a mere JRE) with Eclipse via the
-vm option in eclipse.ini as the earlier respondent said. (I say this so
that subsequent readers of the thread may know the correct way of doing
Powered by FUDForum
. Page generated in 0.02053 seconds