I am beginner in java programming. I have source code of jacorb and need to change a .java file and recreate jacorb.jar. I change java file but how to create jar file? Please guide me in details
Asked
Active
Viewed 1,963 times
-6
-
You are probably using an IDE like Eclipse. Most IDEs have an "export to Jar" command. Otherwise you have to use the `jar` command line tool. – Frank Puffer Feb 24 '17 at 08:33
-
This is basic and there is many information about this topic in Internet. – Joe Hackerberg Feb 24 '17 at 08:36
-
2Like the first hit in google: https://docs.oracle.com/javase/tutorial/deployment/jar/build.html – avysk Feb 24 '17 at 08:36
-
2Possible duplicate of [Java creating .jar file](http://stackoverflow.com/questions/4597866/java-creating-jar-file) – utsav_deep Feb 24 '17 at 08:38
1 Answers
1
Depends on how you're working.. In Eclipse, use the Export - Java - JAR file option. For commandline it's the jar command you want.

vulcan
- 13
- 5
-
I open it as project in eclipse but when select export as jar there is nothing to select – Hossein Pour Feb 24 '17 at 09:14