Dave's Brain

Browse - Computer Tips - How does Eclipse know which Java to use?

Date: 2014dec3
OS: Windows
Language: Java

Q.  How does Eclipse know which Java to use?

A.  It follows the symlinks in c:\ProgramData\Oracle\Java\javapath
That folder has:

java.exe --> c:\Program Files...\java.exe javaw.exe --> c:\Program Files...\javaw.exe javaws.exe --> c:\Program Files...\javaws.exe
We have an article on symlinks on Windows. http://www.davekb.com/search.php?target=symlinks+Windows

Add a comment

Sign in to add a comment
Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.