Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 275993

Summary: RCP project runs under the wrong JVM
Product: [Eclipse Project] JDT Reporter: Bob Aman <bob>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: cocoakevin, remy.suen
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: stalebug

Description Bob Aman CLA 2009-05-12 20:24:39 EDT
Used: eclipse-SDK-3.5M7-macosx-cocoa-x86_64

JavaSE-1.6 execution environment did not have any installed JRE associated with it.  Had to manually add /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

Created new Plug-in Project, selected JavaSE-1.6, rich client app -> Yes, Hello RCP template.

Attempting to run this app resulted in errors because it was running under the 1.5 JRE, which was checked as the default JRE.  Setting the default JRE to 1.6 was my workaround.

At the very least, seems like resolving the issue was much harder than it should have been.
Comment 1 Bob Aman CLA 2009-05-12 20:25:14 EDT
I've probably classified this bug incorrectly, feel free to reclassify as appropriate.
Comment 2 Kevin Barnes CLA 2009-05-13 08:47:18 EDT
Note that Java 5 can be used to launch 64 bit apps with -d64 vm arg. Also note that the default jre can be changed in apple's Java Preference dialog.
Comment 3 Bob Aman CLA 2009-05-13 08:52:11 EDT
The Java Preferences panel does not seem to have any effect on this particular issue.
Comment 4 Eclipse Genie CLA 2019-11-25 15:29:00 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.