Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Trusted Contributor
bertho_joris
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780

[Help] Project Sample Error

After I downloaded from : https://github.com/blackberry/Samples-for-Java

Then I import into eclipse, but I get a lot of errors that occur in the application when you want to do the running

I will attach a picture errors encountered and error that appears after compiling.

 

Error List : http://pastebin.com/tWCCQUVs

 

View : http://s12.postimage.org/bf2b60s25/error_view.png

 

Please help me resolve my problem was. Maybe I am not adding anything or less melaukan settings in eclipse.

Regards,
Bertho
Please use plain text.
Developer
madiha
Posts: 107
Registered: ‎05-26-2011
My Device: Torch

Re: [Help] Project Sample Error

[ Edited ]

 

add PATH variable  in envirometaant variables & this variable must point to the path to the jdk bin folder

 

also check Java Home path inside eclipse

eclipse -> Window -> Preferences -> Blackberry JDE -> Installed Components -> Java Home

 

 

read it

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/Support...

 

 

Please use plain text.
Trusted Contributor
bertho_joris
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780

Re: [Help] Project Sample Error

[ Edited ]

I can not find the path : Blackberry JDE -> Installed Components -> Java Home

 

http://s7.postimage.org/79dcnuz97/error.png

 

I'm using eclipse that has been automatically bundled with the Blackberry SDK. Eclipse is also portable. What should I do to see the directory you mean to do this repair?

 

Eclipse - Blackberry Java Plugin and SDK

http://s16.postimage.org/rj8vl2c2d/BB_Pluigin.png

 

Regards,
Bertho
Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: [Help] Project Sample Error

you have to set the path variable on windows:
http://www.java.com/en/download/help/path.xml
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Trusted Contributor
bertho_joris
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780

Re: [Help] Project Sample Error

[ Edited ]

Ok, my first problem solved...

My next question..

I use 2 blackberry IDE ...

The first one I use is the eclipse that was bundled with the Blackberry SDK. So I can immediately use to create applications. And the eclipse is shaped portable, so it can be used directly.

This picture : http://s11.postimage.org/umg9bby8j/eclipse_1.png

 

 

 

The second is that I try to install : BlackBerry_JDE_PluginFull_1.5.0_helios.exe In my next PC.

But i found difference between my second eclipse, that there is a difference menu like this :

http://s17.postimage.org/ti0oa1min/eclipse.png

The picture above was different from my first eclipse menu and the second.

And if I run the second eclipse error turns ..

http://s7.postimage.org/asd8jpgxn/error_2.png

What should I add that I installed eclipse using BlackBerry_JDE_PluginFull_1.5.0_helios.exe?

Regards,
Bertho
Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: [Help] Project Sample Error

the bb plugin requires java 6 as a base, your screenshot shows java 7.

i would suggest that you download the latest version (1.52) and follow the instructions from https://developer.blackberry.com/java/download/eclipse
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Trusted Contributor
bertho_joris
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780

Re: [Help] Project Sample Error

Hai simon,

 

I installed BlackBerry_JDE_PluginFull_1.5.2_indigo.

But after I run I found the error as shown :

http://s10.postimage.org/x1assn115/error.png

 

For more like this :

http://s9.postimage.org/c9nh635ov/data.png

Regards,
Bertho
Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: [Help] Project Sample Error

the eclipse plugin needs java 1.6, afaik it does not work with 1.7
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
anta40
Posts: 224
Registered: ‎07-26-2010
My Device: Z10

Re: [Help] Project Sample Error

I've been using java 1.7 for 7 months, and no problems so far.

http://i244.photobucket.com/albums/gg6/segmentationfault3/advui.jpg

Please use plain text.