This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes launch app from desktop icon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "launch app from desktop icon" Watch "launch app from desktop icon" New topic

launch app from desktop icon

Peter Simard
Ranch Hand

Joined: Oct 31, 2001
Posts: 54
How can I launch an application from a desktop shortcut?
2b | | !2b

PAS<br /><br />2b || !2b
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Well, for GUI apps that I use on a regular basis (not in a true development environment, so this is just my own experience), I simply create a batch file that runs the java command and opens the app.
Not sure if that is what you are looking for. There are several posts spread throughout the Ranch on converting an app to .exe, might do a search for those if that is what you are looking for.
Hope that helps
It is sorta covered in the JavaRanch Style Guide.
subject: launch app from desktop icon