File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes shortcut for program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "shortcut for program" Watch "shortcut for program" New topic

shortcut for program

kirtesh jain
Ranch Hand

Joined: Nov 15, 2008
Posts: 44
is it possible to create a shortcut in startup menu for a programme using java???
please tell me how can i do ...
thank you.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 42698
Do a search; many people ask that question and some answers say you can do that with a batch file.

You will need an executable .jar with program association set up so "java.exe" opens ".jar" files.
Start with a desktop shortcut; you may be able to create one by R-dragging your .jar onto the desktop and clicking "create shortcut." If that works, try copying it into the start-up folder or start menu.

Or, in plain English, don't know. But maybe those suggestions will work
I agree. Here's the link:
subject: shortcut for program