15 Replies - 821 Views - Last Post: 13 August 2012 - 11:31 AM
#1
How to finish a program!
Posted 09 August 2012 - 10:24 AM
i just finished a java console application, i can run it using the java -jar command from my prompt by i want to turn this program into an executable or application, so i can click on it and it starts running, how do i do it?
i am using netbeans IDE.
thank you for your time!
P.S.: This is a new post because i did not explain myself very well before.
Replies To: How to finish a program!
#3
Re: How to finish a program!
Posted 09 August 2012 - 10:45 AM
#4
Re: How to finish a program!
Posted 09 August 2012 - 11:27 AM
RudiVisser, on 09 August 2012 - 10:43 AM, said:
donīt have to be an .exe my problem is, when i build the application and i go to the applicationīs folder, there is a JAR file, but i cannot run the program from there by clicking on it? how do i finish a java program so my user can click on it and start running?
#5
Re: How to finish a program!
Posted 09 August 2012 - 11:40 AM
#6
Re: How to finish a program!
Posted 09 August 2012 - 11:54 AM
So solution is either to change the manifest or using some open source project like this.
Another option is to send the output to a log or any other file or your own way of displaying...
Or you may set your computer to open jar file with javaw.exe but wont be a good idea unless for testing
This post has been edited by smohd: 09 August 2012 - 11:56 AM
#7
Re: How to finish a program!
Posted 09 August 2012 - 01:50 PM
#8
Re: How to finish a program!
Posted 09 August 2012 - 02:59 PM
#9
Re: How to finish a program!
Posted 10 August 2012 - 06:38 AM
#10
Re: How to finish a program!
Posted 10 August 2012 - 08:06 AM
#11
Re: How to finish a program!
Posted 10 August 2012 - 10:17 AM
Luckless, on 10 August 2012 - 08:06 AM, said:
Yes input parameters are important, i think i ll re-write it in c++, i dont want to run it as a jframe or anything else than command line(prompt) because i donīt have much time left but i ll still watch this post to see if some idea comes up tho
#12
Re: How to finish a program!
Posted 10 August 2012 - 11:22 AM
I have no idea if his tutorial works but it's worth a shot before rewriting
This post has been edited by Luckless: 10 August 2012 - 11:22 AM
#13
Re: How to finish a program!
Posted 10 August 2012 - 11:41 AM
Luckless, on 10 August 2012 - 11:22 AM, said:
I have no idea if his tutorial works but it's worth a shot before rewriting
i ll take a look at it, thank you Luckless
#14
Re: How to finish a program!
Posted 10 August 2012 - 02:44 PM
#15
Re: How to finish a program!
Posted 13 August 2012 - 10:55 AM
sidebrok, on 10 August 2012 - 02:44 PM, said:
Thank you SideBrok for you attention, it isnīt stupid at all, but i donīt know how do i do it
|
|

New Topic/Question
Reply




MultiQuote




|