BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   Problem compiling on Eclipse (

skater27 08-09-2006 12:13 PM

Problem compiling on Eclipse
I am trying to use Eclipse to edit and compile, never mind the jad and cod files.
I will wait for an BB plugin for eclipse for that.

I am getting the following error message and since I do not refer to Border directly, I assume
it has something to do with the net.rim_api.jar file.

Am I missing something? I see nothing else in the RIm directories to add to the build path.

Severity and Description Path Resource Location Creation Time Id
The project was not built since its build path is incomplete. Cannot find the class file for net.rim.device.internal.ui.Border. Fix the build path then try building this project Mp Examples Unknown 1155063929890 12088

Severity and Description Path Resource Location Creation Time Id
The type net.rim.device.internal.ui.Border cannot be resolved. It is indirectly referenced from required .class files Mp Examples/stiscan line 0 1155063929890 12087

ppngiap 08-09-2006 06:04 PM

Check out the Application Developer Guide Volume 1, pages 27-29, which has all information about integration with Eclipse. --Tom

skater27 08-09-2006 07:04 PM

All I see on those pages are on "Write efficient code".
Now there is some stuff on Eclipse starting on page 196.
All of which I have done up to but not including the builder.
Until there is an Eclipse plugin for a Blackberry, maintaining a huge argument
list for each every changing project is out of the question.
All I want to do is edit and compile.
The actual cod production will be done on the BB Development Environment
after all the syntax and compiler time errors are fixed.

skater27 08-11-2006 03:08 PM

I have located the cause but have no solution.

If I write:
... = new ButtonField( "Clear" );
everything is OK.
If I write:
... = new ButtonField( "Clear" )
// some method
I get the error.

mweitzel 08-14-2006 12:32 PM

assignment <-> branch
Hey skater27,

not sure whether I am missing something but from your code snippet it looks like you are making an assignment "= new ButtonField( "Clear" )" and then would like to branch into a different section of the code. By the looks however there doesn't seem to be a condition based on which to branch.

Otherwise if you are not branching, I (and by the looks of it the compiler) fail to see why you need the "{}" brackets in your code?


skater27 08-14-2006 01:20 PM

I am inline subclassing ButtonField with action code when the button is clicked.

Taras1 08-15-2006 01:30 AM

Use Eclipse IDE
An article how to customize Eclipse for developing BlackBerry applications: How to make "helloworld" work in Eclipse for Dummies.

ppngiap 08-15-2006 06:12 PM

Check out the thread "integrating eclipseME and BlackBerry SDK". --tom

fsa3 08-15-2006 08:53 PM

I too am having trouble with eclipse. I get it to create the COD, JAR, etc files but no luck having my application actually load on the simulator. Do I definetly need to use ant to accomplish this? So far I'm doing this just as stated in the BB Application Guide (no ant script yet).

vikdor 09-10-2007 04:11 AM

setting the JDK compiler compliance level to 1.3 has fixed the issue.


All times are GMT -5. The time now is 06:40 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.