File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make a program executable by clicking on an icon on desktop ???

 
david eberhardt
Ranch Hand
Posts: 158
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm writing a small desktop program that will be used to help 3rd grader practice his addition, subtraction, etc .
Can you help me with how to make it executable by simply clicking on a desktop icon that represents a shortcut to start up the program?
(one other option I'm considering is to make it a java applet and place a shortcut to the html page - I know that will work fine; but I'd like to know the other way also please.)
Thank You.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh my goodness. This has been covered SOOO many times.
You can create a batch file that launches the application or you can place a shortcut to a JAR file which will launch the application via the MANIFEST.
If you want to spend a lot of $$$$$ you can buy a program that converts JAVA to a binary EXE.
See this link for JAR files. (prefered method)
http://java.sun.com/docs/books/tutorial/jar/index.html
 
david eberhardt
Ranch Hand
Posts: 158
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Gregg Bolinger:
Oh my goodness. This has been covered SOOO many times.

See this link for JAR files. (prefered method)
http://java.sun.com/docs/books/tutorial/jar/index.html

thanks for the info.
I imagine that it has been asked and answered before but it is sometimes difficult to track down similar topics by searching thru these topic threads.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and you may want to take a look at this quick tutorial on creating an executable JAR file.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic