By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,737 Members | 1,971 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,737 IT Pros & Developers. It's quick & easy.

How to run a program by 'clicking' on an icon

P: 4
Hii, i was wondering if there is a way to run a java program by just double clicking on an icon
i have a program that i want to run on an old PC, and i dont want to download a compiler, just need to run the program without JCreator or the Command Prompt

Plz let me know if there is a way to do this
Thank you =]

Nov 16 '06 #1
Share this Question
Share on Google+
3 Replies

P: 142

Try to create a jar file with Main-Class in the manifest file.

Nov 17 '06 #2

P: 14
I think it is possible. Just convert your java file into an exe. Then it is possible i think so

Nov 23 '06 #3

P: 4
convert java file into an exe? i dont think so.. how? i think creating a jar file for that will do or in windows, create a batch file..
Nov 27 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.