LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2004, 05:27 AM   #1
antony_csf
Member
 
Registered: Jun 2004
Posts: 51

Rep: Reputation: 15
Unhappy How can I stop the output screen when double click the jar file


When I double click the jar file [HelloWorld] It quickly open and close the console window.

[I know I can type the command at the console window, any other methods for double click only??]


I would like to know how to stop the console to close so that I can see the output


thx all!!
 
Old 07-06-2004, 10:40 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Add a 'press any key to continue' into your program. Or, in Windows, there is a setting that keeps the window from closing, instead it says 'Finished-[program name]'. Not sure if there is such a setting in Linux (probably depends on which terminal emulator you're using).
 
Old 07-07-2004, 04:51 AM   #3
antony_csf
Member
 
Registered: Jun 2004
Posts: 51

Original Poster
Rep: Reputation: 15
very thx !!

but I would like to know is it possible to make it machine independent? the user no need to config their system. they only need to double click the Hello.jar file only??
 
Old 07-07-2004, 06:38 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
The 'press any key' is machine independent,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set double click to open video in full screen in mplayer ankur_linuxfan Linux - Software 1 05-14-2005 04:33 AM
In Gnome. How do you stop it opening a new window every time you double click? Snerkel Linux - Software 2 11-23-2004 05:18 PM
Gnome 2.6.1: Single Click acts like Double Click Der_tolle_Emil Linux - Software 2 09-13-2004 08:59 AM
Problem haveing xine open a media file when I double click on it. oryan_dunn Linux - Software 12 09-02-2004 06:45 AM
executable jar in java (cannot double click) spyghost Programming 3 09-29-2003 09:13 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration