Originally posted by Flo Powers: this worked fine for an application, but I don't know if it's possible to do the same with a program that runs in the command prompt.
Whether you run your application from the command prompt or from an IDE or from TextPad or from a bat file, it works the same way. I guess I don't understand your distinction between "an application" and "a program".
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Sorry, careless wording on my part. What I mean is, I've made two different programs, one that displays a GUI using swing, and one that runs in the command prompt (or perhaps "console" is a better word for it?). I made two different executable JAR files (using Eclipse - really easy). However, when I click on the one that has a GUI, it loads fine. When I click on the one that requires a console in which to run, nothing happens.
Is there a(n easy) way to make this CLI program run when I double-click the JAR file?
Hope that was a bit more precise. Thanks again! [ February 08, 2006: Message edited by: Flo Powers ]