Skip to main content
Break up the paragraph into a list.
Source Link
MultiplyByZer0
  • 7.3k
  • 3
  • 35
  • 49

First go to environment variables. You must be aware that under System variables there is a variable named Path, chose to edit that variable then there would be an entry like Oracle\Java\javapath\java.exe ..remove it and add the required Jre path till bin folder and don't forget to create JAVA_HOME user variable.ItThis will resolve evry problem relatedsolve all problems relating to Java in you machine.and environment variables:

  1. Make your way to Windows' Environment Variables dialog.

  2. Under System variables, select the variable named Path. Click Edit...

  3. Remove the entry that looks like:

    C:\ProgramData\Oracle\Java\javapath 
  4. Add the path of your JDK/JRE's bin folder.

  5. Don't forget to set JAVA_HOME.

First go to environment variables. You must be aware that under System variables there is a variable named Path, chose to edit that variable then there would be an entry like Oracle\Java\javapath\java.exe ..remove it and add the required Jre path till bin folder and don't forget to create JAVA_HOME user variable.It will resolve evry problem related to Java in you machine.

This will solve all problems relating to Java and environment variables:

  1. Make your way to Windows' Environment Variables dialog.

  2. Under System variables, select the variable named Path. Click Edit...

  3. Remove the entry that looks like:

    C:\ProgramData\Oracle\Java\javapath 
  4. Add the path of your JDK/JRE's bin folder.

  5. Don't forget to set JAVA_HOME.

Source Link

First go to environment variables. You must be aware that under System variables there is a variable named Path, chose to edit that variable then there would be an entry like Oracle\Java\javapath\java.exe ..remove it and add the required Jre path till bin folder and don't forget to create JAVA_HOME user variable.It will resolve evry problem related to Java in you machine.