i want create jar file of my source code using netbean but i dont know how to do that please help!

Recommended Answers

All 2 Replies

i want create jar file of my source code using netbean but i dont know how to do that please help!

File->New Project->Java->Java Application.

Make project name same as your source codes main class(excatly) and then click finish.

Now copy and paste your source code onto the tab that opens, being careful not to paste over

package ....;

which is right at the top

or alternatively File->New Project->Java->Java Application with Existing Sources
then give it a name click next, it will ask you to add the folders that contain the source do so and then click finish.

please, do us all a favour and stop starting threads that start or end with please help without doing any effort yourself.

This obvious answer could be found by doing a simple search with google, or on the netbeans forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.