Hi,
I have a problem when i start Eclipse on my PC running Windows XP. The Splash screen appears and then a dialog box pops up saying
----------------------------------------------------
JVM terminated Exit code=1
C:\WINDOWS\system32\javaw.exe
-cp C:\eclipse\startup.jar org.eclipse.core.launcher.main
-os win32
-ws win32
-arch x86
-showsplash C:\eclipse\eclipse.exe -showsplash 600
--------------------------------------------------------
The log file generated in the C:\eclipse folder says this:
---------------------------------------------------------------------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77D7E48D
Function=GetClipboardFormatNameA+0xE148
Library=C:\WINDOWS\system32\USER32.dll
Current
Java thread:
at org.eclipse.swt.internal.win32.OS.DrawTextW(Native Method)
at org.eclipse.swt.internal.win32.OS.DrawText(OS.java:1307)
at org.eclipse.swt.graphics.GC.drawText(GC.java:1242)
at org.eclipse.swt.graphics.GC.drawText(GC.java:1194)
at org.eclipse.swt.custom.CLabel.onPaint(CLabel.java:380)
at org.eclipse.swt.custom.CLabel.access$0(CLabel.java:287)
at org.eclipse.swt.custom.CLabel$1.paintControl(CLabel.java:102)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:80)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:850)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:834)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:726)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2738)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:2177)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1286)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1408)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:561)
at org.eclipse.jface.window.Window.open(Window.java:541)
at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:255)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:318)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:281)
at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:926)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:852)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:875)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:675)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1422)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
---------------------------------------------------------------------------
Sometimes i also get a message saying Unable to load project Please use an alternative JVM.
How can i rectify this problem.
I have JRE 1.4.2_02 installed on my PC.
My eclipse version is 2.1 .
The problem exists even after installing Eclipse again.