help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

[SOLVED] Eclipse - Error - A Java Runtime Environment (JRE) ....

[SOLVED] Eclipse - Error - A Java Runtime Environment (JRE) ....

8 years 11 months ago - 8 years 11 months ago
#20864
Am using Eclipse and did ran into the following notice after an update of Java.
Code:
A Java Runtime Environment(JRE) or Java Development Kit(JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: C:\Program Files\Java\jre1.8.0_66\bin

The thing here is that java is updating the files on the system and removing old files but Eclipse will still point to that old folder and therefore it's causing a problem.

so take a look at eclipse.ini, in my case:
- *users*/*user*/eclipse/*version*/eclipse/eclipse.ini

there you will see something like
Code:
-vm C:\Program Files\Java\jre1.8.0_66\bin

when you go to that mentioned folder there will be a big chance that it's empty and that's ok as java did create a new folder. check the folder: c:/Program Files/Java and see if there is a folder with an increased number if so replace that old version number with the new one in eclipse.ini
--> in my case there was a new folder called "jre1.8.0_71"

So filled something like this
Code:
-vm C:\Program Files\Java\jre1.8.0_71\bin

tried to load Eclipse and voilá it's working again.
Last edit: 8 years 11 months ago by Bluefox.
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

Time to create page: 0.451 seconds