How to create jar file with OpenCV in Eclipse?

How do I create a .jar file on a mac?

Miles Reto at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Open up the Terminal window.Go to the directory of where your java file is by entering cd myDirectory.Compile your java file(myJava.java) into a class javac myJava.java.List the content of the directory to make your the class file has been made ls -l. To indicate which function to run first in the jar file we will need to create a text file (MainClass.txt) with the content in the same directory as the java file. The last command to create the actual jar file.

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.