aspose file tools*
The moose likes Beginning Java and the fly likes dont want any jvm window while my app is running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "dont want any jvm window while my app is running" Watch "dont want any jvm window while my app is running" New topic
Author

dont want any jvm window while my app is running

william doehr
Greenhorn

Joined: Aug 26, 2002
Posts: 1
I want to run my app, but i want to make it a Jframe and no visible jvm just the frame..also I want the user to have to double click the program to run it.. any info would help , I am still learning, thanks willie
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Take a look at this quick and easy tutorial on Creating A JAR File.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Steven Zeng
Ranch Hand

Joined: Jan 15, 2002
Posts: 41
I want know if I have a complete jar file contains classes works perfect,but how can i make it run (of course there is a "main" class contain main method)?


SCJP2
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Steven,
I'm not sure that I understand your question. To make a JAR file run, the user must have a Java 2 JRE installed and properly configured. The user can then just double click on the JAR file or type java -jar Whatever.jar .
Steven Zeng
Ranch Hand

Joined: Jan 15, 2002
Posts: 41
Thank you , Dirk , I have let my jar run!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: dont want any jvm window while my app is running