NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
adi.shoukat
Joined: 04 Aug 2010 Posts: 3
|
Posted: Wed Aug 04, 2010 6:39 pm Post subject: Distributable JAR file in Netbeans IDE 6.8 |
|
|
I've developed a Netbeans project running perfectly fine. But I want to make a Stand Alone Jar file of this project so that it can be run on any computer.
I've seen a lot of tutorials on internet but all of them say that Netbeans will create JAR file in a folder named 'dist'. But I don't see any 'dist' folder in my project folder.
Can anyone please help me about this?? |
|
| Back to top |
|
 |
Mike Riley Posted via mailing list.
|
Posted: Thu Aug 05, 2010 11:21 pm Post subject: Distributable JAR file in Netbeans IDE 6.8 |
|
|
On 08/04/10 11:39, adi.shoukat wrote:
| Quote: | I've developed a Netbeans project running perfectly fine. But I want to make a Stand Alone Jar file of this project so that it can be run on any computer.
I've seen a lot of tutorials on internet but all of them say that Netbeans will create JAR file in a folder named 'dist'. But I don't see any 'dist' folder in my project folder.
Can anyone please help me about this??
|
Have you done a Clean & Build for it?
Mike |
|
| Back to top |
|
 |
adi.shoukat
Joined: 04 Aug 2010 Posts: 3
|
Posted: Fri Aug 06, 2010 7:21 pm Post subject: |
|
|
Hi Mike,
Thanks for your interest to help me. You got very close to the solution of my problem. Rather i'd say you solved it
But fortunately I've got the solution somehow. I a posting the solution here in case if any1 else face the same problem in future, it would be helpful.
In fact I made a mistake and I presumed that Netbeans automatically builds the code when you directly run it. But in fact when you directly press the run button, Netbeans tries to build the code, if there are some code errors it launches the last successful build.
I had some errors in the code and that's why Netbeans was Launching older build every time.
When I just pressed 'clean and build' then I found those errors in the output window. I resolved them ... then the code was built successfully and finally the dist folder was visible  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|