Articles

How to fix JRE or JDK must be available in order to run Eclipse problem

Share

While installing Eclipse on your system, you have came across a pop-up dialog preventing you from setting up the Eclipse environment. The dialog says:

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 a search following locations:… Javaw.exe in your current PATH “.

So to resolve ” no java virtual machine was found eclipse … javaw.exe in your current path ” , do the following steps :

1) Download Java Development Kit first from here .

2) Locate javaw.exe file at ” C:\Program Files\Java\jdk-12\bin ”

3) Copy the path and use the short command “Window+ Pause” to open System Information or “Control Panel\System and Security\System

4) Click on Advanced System settings and open Environment Variables

5) Under System Variable add a new path where you have to put the variable name as PATH and paste the path which you previously copied to Path value

6) Apply changes and now try to run the exe file of Eclipse.

Hope, above instructions helped you.

This post was last modified on November 26, 2020

Sandeep Verma

Published by
Sandeep Verma
Tags: Eclipse javaw.exe in your current path jdk no java virtual machine was found eclipse problem re or jdk must be available in order to run eclipse solution