Welcome!

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

Reply
New Developer
grempel
Posts: 40
Registered: ‎09-23-2008
My Device: Not Specified

new developer - Blackberry Java won't compile

When I try to compile the Rim samples, I get this error.

 

javac: invalid flag: -source

 

How do I fix it.  How do I control which java version the RIM enviroment is using?  (I have several JDKs installed on my machine.)

 

Thanks,

Gerry

Please use plain text.
Administrator
MSohm
Posts: 14,296
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: new developer - Blackberry Java won't compile

This link lists the JDK versions supported by the various BlackBerry JDE versions.

 

What Is – Supported versions of Java for different BlackBerry JDE versions
Article Number: DB-00568

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/What_Is_-_Supp...

 

Please ensure your PATH and JAVA_HOME environment variables point to the appropriate JDK version.

 

How To - Update the Path environment variable
Article Number: DB-00507

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_Updat...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.