BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-11-2007, 03:02 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8700c
Carrier: Cingular
Posts: 32
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Java versions & RIM JDE

Please Login to Remove!

Wow am I confused. I'm getting the following error message trying build a projectct:

C:\Documents and Settings\Karl\Personal Data\BB_Java development\KvV\Utils\UI\MCInputField.java:29: generics are not supported in -source 1.3
(try -source 1.5 to enable generics)

1) Is switching to java 1.5 even an option, given that I'm building to a BB running 4.1.0 OS?? Or does that lock me into an older version of Java?

2) I'm running with JDE 4.1.0, and JDK / J2SE 1.5.0 - wouldn't this mean that I SHOULD be linking to source 1.5 already?

3) If it's a simple matter of switching a config or build option in the JDE to link to the 1.5 API -- where the &^%$%^! do you find that????

Many thanks
Offline  
Old 04-11-2007, 03:23 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2007
Model: 8100
Carrier: T-Mobile
Posts: 54
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had this same issue when I began developing. I mistakenly thought that the compilation process would "convert" 1.5 structures to 1.4 compatible versions for the RIM JDE. I use Eclipse, but I created a JRE that included the rim.jar. If you develope using that as your JRE, you'll find that you can't use 1.5 generics or structures at all. Keep in mind, that your code gets compiled against the JDE Java classes (and versions thereof). It knows nothing of generics, or how to "convert" them to RIM JDE compatible versions.

Hope this helps.

mw
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

AVAYA DEFINITY 4606D02A 700059314 BLACK 6 BUTTON VOIP OFFICE PHONE (C3)
$28.95
AVAYA DEFINITY 4606D02A 700059314 BLACK 6 BUTTON VOIP OFFICE PHONE (C3) picture Avaya 1608-I IP Telephone VoIP Phone BLACK OPEN BOX (C2)
$59.0
 Avaya 1608-I IP Telephone VoIP Phone BLACK  OPEN BOX (C2) pictureNEW Polycom VVX410 12-Line PoE SIP VoIP Business Media Phone (2200-46162-001)
$115.0
NEW Polycom VVX410 12-Line PoE SIP VoIP Business Media Phone (2200-46162-001) pictureLOT OF 15 AVAYA 9620L DIGITAL IP VOIP BUSINESS PHONES BLACK
$200.0
LOT OF 15 AVAYA 9620L DIGITAL IP VOIP BUSINESS PHONES BLACK pictureNEW INTER-TEL MITEL AXXESS WND-4801-A 48v .15A 806.1114 AC POWER SUPPLY VOIP POE
$79.99
NEW INTER-TEL MITEL AXXESS WND-4801-A 48v .15A 806.1114 AC POWER SUPPLY VOIP POE picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.