switching to JRE6 running OE Architect in Eclipse 3.6

Posted by michael.porr on 14-Apr-2011 02:47

Hello,

i'm currently running OE Architect as plugin in Eclipse 3.6 (Helios) using JRE1.5 and OE 10.2B04 on Windows XP.

A new plugin i'd like to use needs JRE1.6, so I changed the -vm parameter, Eclipse starts, the splashscreen shows and starts loading plugins (including some oe-plugins).

After some plugins java crashes with the following error:

---------------------------
Eclipse
---------------------------
Java was started but returned exit code=1
C:\Programme\Java\jre6\bin\javaw.exe
-XX:MaxPermSize=256m
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\pasys\oe102bworkspace\.metadata
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m
-jar C:\pasys\oe102b\oeide\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-os win32
-ws win32
-arch x86
-showsplash
-launcher C:\pasys\oe102b\oeide\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\pasys\oe102b\oeide\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222\eclipse_1312.dll
-startup C:\pasys\oe102b\oeide\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-exitdata 948_40
-product org.eclipse.epp.package.rcp.product
-showlocation
-vm C:\Programme\Java\jre6\bin\javaw.exe
-vmargs
-XX:MaxPermSize=256m
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\pasys\oe102bworkspace\.metadata
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m
-jar C:\pasys\oe102b\oeide\eclipse\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
---------------------------
OK  
---------------------------

I tried deinstalling the architect, then eclipse starts without any problems, but as soon as I install the "OpenEdge Architect 10.2.1.04" form Architect_repo the same error occurs again.

Increasing MaxPermSize and -Xmx didn't help either.


Is it possible to run Architect with jre6 at all? Any ideas how i could get it to work?

Any help is appreciated.

Cheers,

Michael Porr

All Replies

Posted by michael.porr on 16-May-2011 03:15

Soved it myself. Seems my workspace was corrupted, a clean install of eclipse with all plugins now runs with jre6.

This thread is closed