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 5930495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:33:46+00:00 2026-05-22T14:33:46+00:00

Some questions are like: How can I package my java app into an exe

  • 0

Some questions are like: How can I package my java app into an exe ?
This is not what I am going to ask.

I can launch my application by doing the following:

java -jar myApp.jar 

That works perfectly (Assuming the machine has java 1.5.0 or >)

Now what I was thinking of having is a myApp.exe file.

What it would do is the following:

  1. check if java is installed on the machine and its version.
    if java is not there it would prompt a dialog to say:
    “you need to install java to run myApp”
    exactly like eclipse.exe does if it does not find java.
    it would then terminate.
  2. if java is there, then effectively run the command
    javaw -jar app.jar and spawn the process.

any idea ?

  • 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-22T14:33:47+00:00Added an answer on May 22, 2026 at 2:33 pm

    I left this question unanswered for a very long time.
    I think it’s fair to say that there is no such easy way to do so.
    JSmooth looks like a good tool, but it’s pretty limited.
    Eclipse has written its own solution and so many other solutions written in java deployed as exe.

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

Sidebar

Related Questions

I'm looking at some code with this form: 1 package com.stackoverflow.java.questions; 2 import java.util.ArrayList;
This might look like a basic question to some of you but I expect
This is a really basic question but... I have some code like this var
There have been some questions about whether or not JavaScript is an object-oriented language.
These are some questions for any developer whose made the jump from Java to
In languages like Java, you can declare a class without a modifier so it
I have written a standalone Java application that I've packaged into a jar file
I'm writing a diagram editor in java. This app has the option to export
I was reading some questions regarding the $@ global variable and how it can
I would like to know about the various options for distributing a Java application.

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.