I have got my files from my java programmer and have edited some .java files in netbeans and saved again.
How do i pack this into a JAR files that works? I am complete new into this java. All files is .java Think i needs to be .class, but how?
I tried to just put the java files into the JAR file like i do in ZIP and RAR's. But don't think this work properly. Can someone help me?
First of all, all my files is .java, i think it should be .class, but how can i convert them all to .class files?
Then i run:
jar cf AvatarServer_Q.jar *
But need manifest, think it because of java to class.
did you read any tutorials? you can look at: create jar
to understand manifest file: manifest basics
This is all you need: http://docs.oracle.com/javase/tutorial/deployment/jar/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.