BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-13-2007, 07:35 AM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: student
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default @JDE - enable generics

Please Login to Remove!

Hello,

i want to use generics. I become this message when i try to use generics:
generics are not supported in -source 1.3
(try -source 1.5 to enable generics)

My Question is, how to become/install the source 1.5 and when i program with the source 1.5, do function the programs on all BlackBerry's or must i install the source on all BlackBerry's too?

Thanks for your Help,
greeting speedo

** Sorry for my English **
Offline  
Old 09-13-2007, 10:21 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: t-mobile
Posts: 44
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

What development environment are you using?
RIM IDE, Eclipse, NetBeans

Anyway i'm pretty sure, that you cannot use Generics in your BlackBerry application. Because the BB API is only full compatibel up to Java 1.4 and there are no generic datatypes supported.

So, i would recommend to don't use Generics and set the java compliance level to 1.4.
Offline  
Old 09-14-2007, 08:56 AM   #3 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: student
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

BlackBerry JDE
Offline  
Old 12-18-2008, 05:36 PM   #4 (permalink)
New Member
 
Join Date: Dec 2008
Model: none
PIN: N/A
Carrier: none
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Is this still true?

Looking at one of the newer API's Vectors (which use generics) are listed.

Does this mean that the blackberries are now 1.5 compliant? If so, how do I tell the RIM JDE to compile using 1.5? I have an application which must be at least partially functional in a few days and this is preventing compilation. This is one of the few stumbling blocks we have come across, any help would be greatly appreciated.
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

1SR0KH Intel Xeon E5-2680 2.7GHz 8 Core (CM8062107184424) Processor 100% Tested
$120.0
1SR0KH Intel Xeon E5-2680 2.7GHz 8 Core (CM8062107184424) Processor 100% Tested picturePortwell Single Board Computer B9300324AB18820820 o11 Dual Intel Xeon 2.8GHz SBC
$355.0
Portwell Single Board Computer B9300324AB18820820 o11 Dual Intel Xeon 2.8GHz SBC picture LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER
$1300.0
 LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER pictureDell Electronics PowerEdge 2950 Server (9424)
$25.0
Dell Electronics PowerEdge 2950 Server (9424) pictureHP xw6600 Workstation (2) XEON CPUs, 4-Core 3.00GHz, 32GB RAM, 512SSD & 1TB HDD
$1100.0
HP xw6600 Workstation (2) XEON CPUs, 4-Core 3.00GHz, 32GB RAM, 512SSD & 1TB HDD  picture






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