• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dont want any jvm window while my app is running

 
william doehr
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at this quick and easy tutorial on Creating A JAR File.
 
Steven Zeng
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you , Dirk , I have let my jar run!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic