score:3
check for system environment variables and user environment variables... seems like eclipse is taking variables from different environment..
if problem persist then set the java_home in eclipse to tell eclipse explicitly where java is installed in the system. to set java_home in eclispe few options given below.
to set java_home in eclipse navigate to windows menu -> preferences -> add runtime variables
or
navigate to run menu -> external tools configurations -> navigate to environment tab -> add java_home variable and it's path as it's value to set environment variable in eclipse.
score:-1
actually the path/classpath/any setting is on "administrator" privilege and will not be accessed if eclipse is started directly.
right click on eclipse.exe and select "run as administrator".
hope it works
score:-1
this seems a bug in eclipse to me.
eclipse comes with java built in already. it's somewhere deep down in eclipse. users have no idea where it is. only eclipse itself can set java_home properly.
installing your own java and setting java_home to point to there seems a bad idea, introducing potential conflicts between the built-in java version and java_home contents
Source: stackoverflow.com
Related Query
- JAVA HOME is set to 1.8 but eclipse uses java 9
- Eclipse says: Web Fragment Module 3.0 requires Java 1.6 or newer, but my project facets are not set
- Eclipse message warning : the environment variable home is not set
- Eclipse java debugging: source not found
- How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9
- Eclipse "this compilation unit is not on the build path of a java project"
- Java "constant string too long" compile error. Only happens using Ant, not when using Eclipse
- Set java system properties in IntelliJ or Eclipse
- "Source folder is not a Java project" error in eclipse
- Difference between Java working set and Resource working set in Eclipse
- I get "Source not found" when debugging my Java code in Eclipse
- How can I set the current line of execution in the eclipse java debugger?
- How to delete a java working set in Eclipse
- Getting "Project facet Java version 1.8 is not supported." in Eclipse Luna
- Eclipse autocomplete not working in some Java files
- Tools jar does not exist Eclipse JAVA
- Eclipse project-wide error: Warning: The environment variable HOME is not set. The following directory will be used to store the Git
- Maven project not being treated as Java in Eclipse
- eclipse not inserting "diamond" operator in a java 8 project
- I updated java and eclipse does not work
- How can I use the java Eclipse Abstract Syntax Tree in a project outside Eclipse? (ie not an eclipse plugin)
- How to get Eclipse to jump to failed JUnit test when test is not a Java method
- Eclipse Java Content Assist not working
- How to set up java 10 in Eclipse Oxygen?
- Import existing java project in eclipse but design view not exist for JFrame?
- Java 9: Module java.xml.bind is not accessible in Eclipse
- I installed Java 7 but Eclipse keep saying that 1.6 is not suitable for this product
- Set Eclipse to automatically switch to Java perspective when terminating debug
- Set default java compliance level for Maven projects in Eclipse
- apache tomcat 9.x not working with eclipse & Java 10.0.1
More Query from same tag
- How can I set up a code review process to my remote peers before checking in to TFS?
- What is the reason for a red exclamation mark next to my project in Eclipse?
- egit with self signed certificate, https
- Class diagrams created through objectaid in eclipse disappeared
- Eclipse Juno: Missing the "Classic Update"
- -Dmaven.multiModuleProjectDirectory system propery is not set
- Eclipse and Google App Engine: ImportError: No module named _sysconfigdata_nd; unrecognized arguments: --high_replication
- getting call hierarchy of a method using reflections
- I am getting an error while importing BIRT report to Maximo: bmxaa5457e
- Where are projects stored in Eclipse?
- Android screen video record without root
- Find and Replace text in Eclipse
- "Android Library Update” eclipse task randomly stuck my eclipse on start
- Datatype of a variable using ASTParser in java
- Converting existing project to maven and run it in dev. mode in eclipse
- Integrating Spring MVC Apache Tiles and Hibernate
- How to initialize the Transport Service in Eclipse UpdateSite
- Eclipse shortcut to accept type proposal with appended same-name lowercase starting variable
- Show differences with another user in TFS
- How to display .svn dirs in package explorer / navigator / project explorer, in Eclipse subclipse
- Resizing image taken from internet to display in android screens
- ImportError when trying to run a python unittest with pydev
- How to create domain ontology lexicon by getting all the classes name attribute relations and save it in the lists
- API usage example for org.eclipse.jdt.core.dom.AST
- How do I fold code for comment blocks inside method blocks in the Eclipse IDE
- Eclipse-generated JAD file does not automatically install dependent library
- Android Eclipse- Do I need a new Manifest file for each activity?
- Technical details of serve modules without publishing in Eclipse WTP and Tomcat?
- Cannot resolve Neo4j annotations in Eclipse
- Android:How to update new API levels in Eclipse