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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:44:35+00:00 2026-05-20T15:44:35+00:00

I have a Swing application as jar file. I am launching the application in

  • 0

I have a Swing application as jar file.

I am launching the application in 2 ways.

  1. In command prompt java -jar app.jar. launching & Working fine.

  2. double click app.jar. launching, but not working properly as expected. somewhere failed.

What would be the problem?

Where the logs(System.out.println()) will be printed in case of running the jar directly.

I have lot of sysouts. Will that cause problems?

Anyone please help in this regard.

  • 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-20T15:44:36+00:00Added an answer on May 20, 2026 at 3:44 pm

    According to the Java Doc: http://download.oracle.com/javase/6/docs/api/java/lang/System.html#out

    The “standard” output stream. This
    stream is already open and ready to
    accept output data. Typically this
    stream corresponds to display output
    or another output destination
    specified by the host environment or
    user.

    For logging purposes, use some library such as log4j or Java Logging.

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

Sidebar

Related Questions

I have created an executable java Swing .jar application. It works fine on Windows.
I have a Swing app written in Scala in a .jar file. I made
I have a Java web application that has a 'disconnected' Java Swing desktop app.
I have a Java Swing application that is being used as a cluster application.
I have a Java swing application with a button that produces a popup window
I have a simple Swing Java application that performs searches, and the results are
I've creating a Java Swing application and I realized that I have many many
I would like to create extend a Java Swing application to have a look
I'm developing Swing application, and everything works fine usually. But I have an GUI
I have a swing Java application that preserves a lot of data (you can

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.