BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-10-2012, 03:53 AM   #1
haribkurup
New Member
 
Join Date: Mar 2012
Model: Curve
PIN: N/A
Carrier: Vodafone
Posts: 2
Post Error while using net_rim_api.jar in NetBeans for j2me development

Please Login to Remove!

I am working on a J2ME project using polish framework which I have to build for blackberry too. It was working fine until recently I introduced few network APIs by blackberry in the project (for priority based network selection).

I am using NetBeans IDE 7.1 and Blackberry JDE 7.1.0. I included the net_rim_api.jar (Project properties -> Build -> Libraries & resources -> Add Jar/Zip) that helped in getting rid of all red flags in editor.

But during build process, the library doesn't get linked and throws error mentioned below.

compiling for device [Generic/AnyMsaPhone].
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 691 source files to C:\build\Generic\AnyMsaPhone\en_US\classes
C:\...\source\src\com\ccs\crm\bb\network\Transport s.java:14: error: package net.rim.device.api.servicebook does not exist
import net.rim.device.api.servicebook.ServiceBook;
C:\...\source\src\com\ccs\crm\bb\network\Transport s.java:15: error: package net.rim.device.api.servicebook does not exist
import net.rim.device.api.servicebook.ServiceRecord;


Does anyone know how to fix it?
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Error while using net_rim_api.jar in NetBeans for j2me development
Thread Thread Starter Forum Replies Last Post
Integrating BlackBerry Emulator to NetBeans niansh Developer Forum 2 09-21-2010 05:23 PM
Netbeans development and simulator issues alex3305 Developer Forum 0 01-31-2010 06:49 PM
Using BlackBerry debugger from NetBeans? plevintampabay Developer Forum 1 07-19-2008 08:03 PM
Netbeans vs. Eclipse BlackBerry Development mdwheaton Developer Forum 0 04-18-2007 11:24 AM


4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4

4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4"ACME inlet

$29.39



Hoover WindTunnel 2 Whole House Rewind Pet Upright Vacuum Bagless Black/Brown picture

Hoover WindTunnel 2 Whole House Rewind Pet Upright Vacuum Bagless Black/Brown

$121.98



3 CFM Air Vacuum Pump HVAC Manifold Gauge Set AC A/C Refrigeration Kit picture

3 CFM Air Vacuum Pump HVAC Manifold Gauge Set AC A/C Refrigeration Kit

$44.83



VEVOR 9

VEVOR 9" Drywall Sander 850W Vacuum System Folding 6 Speed LED Strip Light

$87.99



NEW Portable Heavy-Duty Suction Machine HIGH SUCTION VACUUM UNIT PUMP picture

NEW Portable Heavy-Duty Suction Machine HIGH SUCTION VACUUM UNIT PUMP

$139.99



Cordless Vacuum Cleaner Stick Handheld for Carpet Pet Hair & Wood Floor Bagless picture

Cordless Vacuum Cleaner Stick Handheld for Carpet Pet Hair & Wood Floor Bagless

$96.90







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