NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Distributable JAR file in Netbeans IDE 6.8

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
adi.shoukat



Joined: 04 Aug 2010
Posts: 3

PostPosted: Wed Aug 04, 2010 6:39 pm    Post subject: Distributable JAR file in Netbeans IDE 6.8 Reply with 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??
Back to top
Mike Riley
Posted via mailing list.





PostPosted: Thu Aug 05, 2010 11:21 pm    Post subject: Distributable JAR file in Netbeans IDE 6.8 Reply with quote

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

PostPosted: Fri Aug 06, 2010 7:21 pm    Post subject: Reply with quote

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 Smile

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 Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo