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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:04:02+00:00 2026-06-12T21:04:02+00:00

I use eclipse for developing my applications. I have 2 java files, one is

  • 0

I use eclipse for developing my applications.

I have 2 java files, one is main and one is class that is used by main.
In eclipse, I just execute as java program and it works. (default package).

Now I just want to run this program on linux and other windows.
How do I run it? if you can point to me a tutorial that also is fine.

I am not looking at jar file/mainfest at this point of time . all I am looking for is to run thr program

  • 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-12T21:04:03+00:00Added an answer on June 12, 2026 at 9:04 pm

    The easiest way for you will likely be to export a runnable jar.

    1. In eclipse, select your project.
    2. Right click > export
    3. Select “Runnable Jar”
    4. Follow the wizard, be sure to choose the right run configuration.

    Now a jar file should be saved which can be run by double clicking in a GUI or using the command line: java -jar <your jar file>

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

Sidebar

Related Questions

I am currently in a class that is developing applications in Objective-C and Cocoa.
We're developing Java/SpringSource applications with Eclipse on 32-bit Vista machines with 4GB RAM. The
Folks, I am developing a Java application using Eclipse. Maven is used to create
I am developing an android application in eclipse that needs to use JSON, Google
I am developing an eclipse plugin application. I have the following scenario: Main application
I'm developing an Eclipse RCP application. I have been told that the UI part
I am developing a web application based on JSF technology. I use Eclipse as
I use Eclipse CDT for developing C with mingw. I also add opencv libary.
I am currently developing an Android-App in Eclipse and trying to use a Library
I use Eclipse JDT library to parse java source code to visit all methods

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.