[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

setting up a quick launch icon?

Hello, I have created a small java swing app. To run this app I now open my netbeans IDE and run this  application. How do I set up a quick launch icon on my desktop to start this app without uisng my Netbeans IDE? Can someone help me out with this.? Thank you.

A
0
aej1973
Asked:
aej1973
1 Solution
 
doraemon-nolifeCommented:
you can write a script that initiate your swing application, example:

java -jar mySwing.jar

name this script file extension as .bat (window) or .sh(linux)

put it in your desktop and you can choose whatever icon you like.

:)
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now