Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 14
Registered: ‎08-13-2008
My Device: Not Specified

Setting -source option for a JDE build

How does one set the -source compiler option in the JDE. I would like to use Java 1.5 but it is apparently defaulting to 1.3. I don't see anywhere in the JDE to change this option.



BlackBerry Development Advisor
Posts: 15,874
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Setting -source option for a JDE build

The BlackBerry JDE/BlackBerry JDE Plug-in for Eclipse does not support 1.5, 1.3 must be used.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Posts: 143
Registered: ‎07-14-2008
My Device: Not Specified

Re: Setting -source option for a JDE build

Not sure what he's talking about when he says "plug-in", but if you are using Ganymede, and you installed the full JDE (not the components), then you can do this:


From the main menu select Windows -> Preferences

Expand "Java"

Click "Compiler"

Select your desired compiler compliance level


Be sure that the OS you are targeting supports the level you select.  There is a page in the knowledge base that gives you the compliance levels supported by OS version.


Works great for us, using Ant for build control, and mercurial for source control.




Posts: 191
Registered: ‎04-03-2008
My Device: Bold 9700

Re: Setting -source option for a JDE build

You need 1.3 source compatibility and 1.1 binary compatibility.  There's no practical reason to change source compat to anything other than 1.3.  Doing so will only cause you pain at some point.
New Developer
Posts: 10
Registered: ‎09-14-2008
My Device: Not Specified

Re: Setting -source option for a JDE build

Exactly why I love this forum : find exactly the question I was asking myself :-)