BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-25-2007, 03:32 PM   #1 (permalink)
New Member
 
Join Date: Apr 2007
Model: 8700
PIN: N/A
Carrier: Verizon
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Compile error - package not found

Please Login to Remove!

(Note: I also posted this in the Aftermarket forum, but it probably belongs here)
I'm new to this forum, and also to development for Blackberry. I am working in a development environment (SalesLogix) that provides an out-of-the-box customized system. When compiling the system, I receive many compiler errors of this type: "package net.rim.blackberry.api.invoke does not exist".

Clearly, the compiler is looking in the wrong place for the package, since it does exist. I have installed the BlackBerry JDE 4.2.1 and Java SDK 1.5.0_11. Is there an environment variable or something that I need to update, in order for the compile to work? Thanks.
Offline  
Old 04-25-2007, 06:49 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2007
Model: 8800
Carrier: The New ;) AT&T
Posts: 60
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Zoelina,

That api requires a Rim signing key which you have to purchase for $100. There is a preference in the JDE under the code signing tab that requires you to choose whether to allow signed api's. Possibly that's your problem.....
Offline  
Old 04-26-2007, 05:00 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

knezek,
signing cannot affect compilation stage, since you can sign your application only AFTER you compile it to class files and compile cod file from class files.

Zoelina,
your classpath should contain reference to c:\program files\Research In Motion\BlackBerry JDE 4.2.1\lib\net_rim_api.jar
I don't know what is SalesLogix, so I don't know where to customize it.
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





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