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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:18:01+00:00 2026-05-22T18:18:01+00:00

HI, I have a J2EE application with some .jsp as start page. Is there

  • 0

HI,
I have a J2EE application with some .jsp as start page. Is there a way that I can make my project an executable through eclipse or other means?

Thanks!

  • 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-22T18:18:02+00:00Added an answer on May 22, 2026 at 6:18 pm

    Usually people use build scripts to package their application into a JAR. Such as ANT and Maven.

    1. Using Maven is the easiest approach all you do is create your pom.xml file and create your executions. Then you just run the commands below which will technically package it into a single executable jar:

      mvn install
      mvn package
      
    2. Or you can use Ant using the jar task. http://ant.apache.org/manual/Tasks/jar.html

    3. If you would like to do it within Eclipse, you can right click on your project and choose, “Export” and select Jar.

    4. You can do it Manually as well. Just make sure you have a manifest.mf file that contains a Main-Class section:

      Manifest-Version: 1.0
      Main-Class: FooClass
      Class-path: .
      

      Then you can jar it make it executable by doing:

      jar cvfm foo.jar manifest.mf FooClass.class
      

    I personally would like to use a build script, using something like Maven makes the process painless easier to maintain in the future.


    Note

    You could use One-JAR which lets you package a Java application together with its dependency Jars into a single executable Jar file. It integrates really well with Maven and Ant. A good tutorial could be found here: http://www.asjava.com/core-java/making-an-executable-jar-file/


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

Sidebar

Related Questions

I have some J2EE application, and I'm able to see the what that application
I have a J2EE application that receives and process messages (events). These messages contain
I have about 10 different entities in my J2EE application that right now share
I have an application that uses coldfusion's session management (instead of the J2EE) session
I'm working on an intranet-only web application (J2EE) that requires some basic security features.
I would like to design a simple application (without j2ee and jms) that can
I have a J2EE application that has a lot of reports, the situation now
I have a J2EE application that needs to be distributed to customers, who will
I have profiled my J2EE web application using jprofiler. I found there is huge
I need to add functionality to my J2EE-based wep application: 1) Take some page,

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.