In my current project we use IBM’s version of Eclipse. On a Windows 7 VM. The VM crashes weekly.

Not only has this made me paranoid about loosing my work (I stash my changes in version control like a demon), it seems to corrupt my RAD/Eclipse instance.

Starting RAD produces the useful “An error has occured” error message:

Eclipse error

!SESSION 2015-09-02 10:53:50.331 -----------------------------------------------
java.fullversion=JRE 1.7.0 IBM J9 2.6 Windows 7 amd64-64 Compressed References 20140313_192258 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR6_20140313_1318_B192258
JIT  - r11.b05_20131003_47443.02
GC   - R26_Java726_SR6_20140313_1318_B192258_CMPRSS
J9CL - 20140313_192258
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
Framework arguments:  -product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product

!ENTRY 0 0 2015-09-02 10:53:52.658
!MESSAGE Product could not be found.

!ENTRY org.eclipse.osgi 4 0 2015-09-02 10:53:54.131
!MESSAGE Application error
java.lang.RuntimeException: No application id has been found.
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
  at java.lang.reflect.Method.invoke(
  at org.eclipse.equinox.launcher.Main.invokeFramework(
  at org.eclipse.equinox.launcher.Main.basicRun(
  at org.eclipse.equinox.launcher.Main.main(

The error log isn’t much help. Something somewhere is corrupt. Asking Eclipse to clean itself seems to fix things:

c:\IBM\SDP\eclipse.exe -clean