Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in creating a shortcut...........  RSS feed

 
Arun Kumar Gaddam
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I have developed small phone book ,using awt and swing packages. Now i want to use it . All the time i can't type java command in the command prompt. So i want create icon like.. Any methods to do like............and use it...............please help.........Thanks in Advance.............
 
Campbell Ritchie
Sheriff
Posts: 53742
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a job for a .jar file with a main method included. Go through the "deployment" part of the Java Tutorial and look carefully at the bit about manifest files.

Or use an IDE to create an executable .jar.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!