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

Bug 138623

Summary: [launching] launch config vm arguments should override JRE default arguments
Product: [Eclipse Project] JDT Reporter: Tom Hofmann <eclipse>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Tom Hofmann CLA 2006-04-26 09:49:03 EDT
N20060426

- I have a JRE configured with a default argument of -Xmx512m
- In a specific launch config, I spec a VM argument of -Xmx256m

> expected: the launch config's argument override the default arguments. 
< actual: the launch config's argument is superseded by the default arguments - the command line reads:

   ...java -Xmx256m -Xmx512M -classpath ...

The luxury solution would remove the default argument if a similar argument is in the launch config. At least, the launch config's arguments should be on the command line *after* the default args.
Comment 1 Darin Wright CLA 2006-05-02 13:03:35 EDT
Deferred
Comment 2 Denis Roy CLA 2009-08-30 02:12:58 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.
Comment 3 Michael Rennie CLA 2012-06-11 11:13:58 EDT
Marking as dupe of 217994 because there is patch on that bug

*** This bug has been marked as a duplicate of bug 217994 ***