Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

turn my class file into an icon to click

 
roy williams
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make a class file an icon so i can give it to someone and have them click it to run it not have to set up a path and all and run it from the command line.
anyone know the scoop on this??
thanks
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, roy!
Take a look at Creating an Executable JAR. You might otherwise consider creating a bat file that would run your Java app.
 
roy williams
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks dirk, appreciate the response- I will try it out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic