Skip to main content



      Home
Home » Newcomers » Newcomers » How Eclipse is launched without explicit JRE location(Eclipse would launch out of box if JDK was installed first)
icon5.gif  How Eclipse is launched without explicit JRE location [message #1204089] Fri, 22 November 2013 19:34 Go to next message
Eclipse UserFriend
On Windows platform, if JDK is installed before I launch Eclipse (Kepler), Eclipse can be started without any problem. It is unnecessary to point to a location of JRE in any of the following ways explicitly:

1. Update system variable PATH
2. Specify -vm on command line
3. Add -vm in eclipse.ini

Please help me understand how JRE is found on Windows platform. I didn't get answer from the documentation of Equinox Launcher.

Thanks
Re: How Eclipse is launched without explicit JRE location [message #1209882 is a reply to message #1204089] Mon, 25 November 2013 14:01 Go to previous messageGo to next message
Eclipse UserFriend
I found the answer for my own question. Java SE installer places a copy of the runtime environment in the C:\Program Files\Java\jre7 directory. In addition, if no more recent version is already installed on the machine, the installer puts copies of the java and javaw application-launcher executables in the Microsoft Windows system directory. (The system directory varies depending on the Microsoft Windows version, but is usually either C:\winnt\system32 or C:\windows\system.)

In my Windows system, java.exe, javaw.exe are placed in C:\Windows\System32 and %SystemRoot%\system32 is a search path by default.

[Updated on: Mon, 25 November 2013 19:23] by Moderator

Re: How Eclipse is launched without explicit JRE location [message #1219883 is a reply to message #1209882] Fri, 06 December 2013 09:23 Go to previous message
Eclipse UserFriend
This info might help explain how it works: http://wiki.eclipse.org/Equinox_Launcher#Finding_a_VM.2C_Using_JNI_Invocation_or_Executing_Java
Previous Topic:Eclipse ECCN numbers
Next Topic:JRE/JDK path errors
Goto Forum:
  


Current Time: Mon Jun 16 09:57:09 EDT 2025

Powered by FUDForum. Page generated in 0.08234 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top