File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse is not opening Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse is not opening" Watch "Eclipse is not opening" New topic

Eclipse is not opening

prasad regula

Joined: Jul 03, 2006
Posts: 24
I downloaded eclipse-SDK-3.5.2-win32, and unzipped using winzip. I clicked on the icon, the eclipse ide got opened. Things were fine. I downloaded Apache studio as a WSDL editor. Later I installed eclipse plugins for the Apache studio. As it didnt work, I decided to delete eclipse and reinstall on a clean slate. Now I unzipped eclipse again and tried to open it. Now eclipse is not opening. It is giving an message box "An error has occured. See the log file in the configuration folder". As I opened the log file, this is what I have found.

!SESSION 2010-05-05 11:38:50.001 -----------------------------------------------
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2010-05-05 11:38:50.516
!MESSAGE Startup error
at org.osgi.framework.BundleException.<init>(
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(
at org.eclipse.osgi.framework.internal.core.Framework.launch(
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

prasad regula

Joined: Jul 03, 2006
Posts: 24
I just found that jvm version 1.3 is running. as I typed java -version. I have hot installed 1.3. I am not sure where it has picked it from.
prasad regula

Joined: Jul 03, 2006
Posts: 24
How should I upgrade my jvm from 1.3 to 1.6. My path and classpath are being shown tyo 1.6 only. I dont know where it is picking this 1.3 from.
prasad regula

Joined: Jul 03, 2006
Posts: 24
Here is the solution to upgrade the jvm, do the following
Place the JAVA_HOME/bin and <other classpath statements as rt.jat, tools.jar> at the begining of the path statement. As it is placed in the end, as the system reads the path variable, if it comes across 1.3 in between it accepts 1.3 as its jvm version. So it overrides. To avoid this issue, place the java bin path and classpath statements at the begining of the path statement. This will change the jvm to the version you wanted it to be.
Prasanna Mondkar

Joined: May 14, 2011
Posts: 1

Small addition ...
If PATH variable does not contains older JDK/JRE entry (here, 1.3) before the newer one, but the issue still persists then, most probably, an older version of java.exe
exists in System32 of Windows (happens when you install an older JDK on windows).
Further, since "System32" is at the beginning of the PATH, and hence, before JDK entry, the "java.exe" placed in it is picked when executed.

Removing the file C:\windows\System32\java.exe file should do the trick.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Unlike, say, Internet Explorer you can have multiple versions of Java on a Windows computer. Although 1.3 is so far past end-of-life that even Oracle doesn't use it anymore, and they held onto it for years.

It's fairly easy to select a JVM if you want to launch Eclipse in a command shell or .BAT file - just set the JAVA_HOME directory to point to the JDK directory, and add "%JAVA_HOME%\bin" to your PATH.

However, you probably want to launch it from the GUI. For that, go to the WIndows Control Panel/System applet and set the system or user environment variables for the JAVA_HOME and PATH you want to be your default Java version. You've probably already got settings for Java 1.3 in there, so get rid of them.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Eclipse is not opening
jQuery in Action, 3rd edition