Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6587975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:59:17+00:00 2026-05-25T16:59:17+00:00

I have seen a similar problem here for example , but i am not

  • 0

I have seen a similar problem here for example , but i am not trying to acces to Java SE features..

I have a .jar file with the code of a bluetooth functionality.. I try to make a .jar package that works with Blackberry and Windows.. In both cases i use the javax.bluetooth.BluetoothConnectionException class. This class comes in the Blackberry SDK and in the BlueCove package to use Bluetooth in Windows… so the BlueCove package is included in the jar file..

When i try to use the .jar file with the Blackberry, i have the error mentioned in the title: Error!: Duplicate definition for 'javax.bluetooth.BluetoothConnectionException'.. My problem here is that i want to use a feature that comes in the Standard SDK from RIM, but there is another class with the same name and in the same package in the .jar file, and therefore, i get this error… Is there some way to make the BlackBerry application to look for this class in its own SDK instead of the .jar file?

I think that i cannot / should not modify the package of any of the classes. Any ideas here? I would appreciate any.

Thanks

PS: I use the Eclipse plug-in for Blackberrry, in case that is usefull.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:59:17+00:00Added an answer on May 25, 2026 at 4:59 pm

    I would get the source code of BlueCove project, and open it in a IDE, for example Netbeans, and refactor package names. Change (refactor) package names to avoid name conflict.

    After that include refactored BlueCove sources or compiled jar file to your BlackBerry project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay I have seen some very similar questions here but none seem to be
I've seen a few similar posts to my problem, but none that have helped
I have seen similar questions ( 1 , 2 ), but none of them
I have seen a similar related post but my situation is a little different
I have seen examples of printing from a windows application but I have not
I have seen similar threads and have tried the syntax's in their solutions, but
I've seen similar questions on here but I can't seem to apply the solutions
I'm having a problem similar to but not quite the same as one I've
I've seen a few examples of similar situations on here, but haven't found anything
I have a problem with my jqGrid. I have seen other posts here with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.