Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MGilm
New Contributor I
950 Views

Trying to run Eclipse - get that "java error"

I followed the instructions on https://software.intel.com/en-us/installing-the-eclipse-ide IoT - Installing the Eclipse* IDE | Intel® Developer Zone

Then I ran Eclipse, and of course I got the (apparently all too common) error regarding the path to the JRE. But the "fix" is unclear. That webpage seems to indicate it's my choice whether to add something to my PATH, or to tweak a Preference within the app. Preferring to NOT deal with environment variables, I verified I had Java (1.8.0_66) and I added it to the Preferences and restarted the app, then restarted the PC and the app. Same error.

Then I tried tweaking the PATH itself, but now the program won't even boot. I get only a Command window admonishing me about the same JRE path error, however, in this window, it makes NO mention of the "Preference" setting option - only that I should "ensure Java is in PATH". Press any key to continue... and it exits

What exactly is the path required... the top folder C:\Program Files\Java\, or C:\Program Files\Java\jre1.8.0_66, or ?

Any help appreciated.

Thanks.

Mike

4 Replies
Pedro_M_Intel
Employee
62 Views

Hello Mike-SYR,

Which version of JDK did you install? Make sure it is the 64 bit version of the JDK otherwise it will not work. Also, did you have any other versions of JDK installed before trying to install Eclipse?

Also, why don't you try installing Eclipse with Intel's Integrated installer that can be found in https://software.intel.com/en-us/iot/hardware/edison/downloads Intel® Edison Downloads?

Does it make a difference?

Peter.

MGilm
New Contributor I
62 Views

Peter,

Originally I installed via the "Integrated Installer" - or so I recall. I checked yesterday with a java -version command in the console window and confirmed it was 1.8.0_66, but now that command throws a "initialization of VM" error. I also tried double-clicking the "Java" icon that's in the Control Panel, but that does nothing.

What steps do you recommend?

Mike

MGilm
New Contributor I
62 Views

I uninstalled everything. Then ran the integrated installer again. It does not install the Eclipse stuff.

How do I install this properly?

Pedro_M_Intel
Employee
62 Views

I get the same error message, however it does not affect Eclipse's capabilities, I'm able to upload scripts and they work just fine. Does this issue affect Eclipse operation?

Peter.

Reply