• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

To create a desktop short cut icon for the standalone application

 
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.
 
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
 
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
 
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 ]
 
Sheriff
Posts: 21760
102
Eclipse IDE Spring VI Editor Chrome Java Ubuntu 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
Boost this thread!