Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To create a desktop short cut icon for the standalone application

 
VenuArchana Aradhyula
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have created a jar file for my standalone application. What i wanted is to create a short cut icon on the desktop for the application. Instead of user double clicking on the jar file, the user can click on the short cut icon to open the application.

Suggest me,

Thanks in advance.

Archana.
 
Ajay Njallacattu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Run the jar file from a bat file. Then make a shortcut of the bat file on your desktop.

Regards

Ajay
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Searching the forums is always a good idea.
Many questions have been asked before
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also use a Java cross platform installer. They will create shell scripts and batch files to launch an application, and can also create shortcuts. Launch4j is a freeware installer, and install4j is a popular and well designed commercial product; worth the licensing cost. (The makers of install4j also have a product called exe4j which creates only a Windows install, so it has a lower licensing cost.)
[ September 02, 2008: Message edited by: Mark Vedder ]
 
Rob Spoor
Sheriff
Pie
Posts: 20529
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
InnoSetup and NSIS are other popular free installer creators, although if I recall correctly only for Windows.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic