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

  • Home
  • SEARCH
  • 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 9273461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:07:22+00:00 2026-06-18T16:07:22+00:00

I’ve been trying to convert a jar to exe. The program – the jar

  • 0

I’ve been trying to convert a jar to exe. The program – the jar – uses a bluetooth library ‘Bluecove’ which is another jar in some directory. The program also uses Java Swing, typically JFrame and stuff. The program works perfectly when run from within Netbeans or Eclipse. It’s time for me to deploy it, hence I need to convert it to exe. But I’ve been unable get the final executable to link with ‘Bluecove’. I tried JSmooth and Launch4j , but with both, though I could complete the process and create the ‘exe’, the final program isn’t running, because it can’t find the Bluecove classes.

Any suggestions on how to get around this? None of these converters have any documentation about linking with libraries. Any help is appreciated.

Solution:
Thanks guys for the answers! I used Andrew Thompson’s suggested method to deploy my program, which worked beautifully. And to create the JAR, I preferred to have everything in one JAR, as suggested by Abdullah Shaikh. I used Fat-Jar Eclipse plugin for that.

  • 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-06-18T16:07:23+00:00Added an answer on June 18, 2026 at 4:07 pm

    It’s time for me to deploy it, hence I need to convert it to exe.

    Those two statements do not make sense together. We cannot deploy a Swing desktop app. to *nix or OS X using a Windows based executable. The best option for deploying a Java desktop app. is typically from a link on a web page using Java Web Start.

    From BlueCove Documentation: Installation:

    Installation

    BlueCove rely upon already installed native Bluetooth stack that comes with you operating system or Bluetooth USB device.

    Installation of the binary (already compiled) version of BlueCove is as follows:

    • Download BlueCove binary release
    • Add bluecove.jar to your classpath
    • Also add bluecove-gpl.jar to your classpath if you are running application on Linux

    This would imply something like the following. 2 Java Web Start based JNLP extensions:

    1. An extension for the BlueCove main API (bluecove.jar) to support Windows and OS X, as well as the core classes needed for Linux. This ‘main’ JNLP file would have a resources section specific to Linux, which in turn references the ‘Linux only’ extension JNLP.
    2. An extension for the Linux specific API (bluecove-gpl.jar) which includes an installer element to pop a license prompt for the user (if needed, this entire extension is necessary only for producing a license prompt). Here is a small demo. of the ExtensionInstallerService that would show a license agreement.

    ..would this require the user to always have an internet connection when using the application, or is it just the first time activation that requires internet?

    The Java Web Start client (the app. that launches an appropriate JVM and your app.) would typically check back with the home server for updates to the application Jars relevant to that OS. Fortunately it is configurable as to when and how the check is done, and whether the application can be run ‘off-line’ as you require, by specifying an element in the JNLP:

    <offline-allowed />
    

    The offline-allowed element (part of the jnlp element) ensures that after initial installation, the app. can be used off-line.

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

Sidebar

Related Questions

I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to select an H1 element which is the second-child in its group
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am confused How to use looping for Json response Array in another Array.
For some reason, after submitting a string like this Jack’s Spindle from a text
I would like to run a str_replace or preg_replace which looks for certain words
I am trying to render a haml file in a javascript response like so:

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.