How to create jar file??
and how to call them in our application ??
i m using netbeans i think in library folder we add jar file ?
but 1st how to create jar file????
Printable View
How to create jar file??
and how to call them in our application ??
i m using netbeans i think in library folder we add jar file ?
but 1st how to create jar file????
Netbeans will have dialogs that enable jar files to be created and be made accessible to other programs that you write.
I don't know what these are (others might) but I do know that you will gain the best understanding of such fundemental concepts by working at the command line at first and following the illustrated discussion in, eg, Packaging Programs in Jar Files in Oracle's Tutorial.
Thanks!!
i got how to create jar !!
but its not a executable its a zip file!!
and when i used
java -jar <myfile.jar>
command then it gives error
main function is not present !!!
what to do
???:(whew):
You created a jar archive not a jar executable. Did you create a manifest file? If so please paste it's contents here.
thanks for your interest!!!
I got all in detail !!
and it executed how i want !!!!
Thanks !!
:(happy):
:(happy):
:(happy):
:(happy):