Export used .jar files from the GitHub project

I am new to java and eclipse and I would like to get jar files from this github project:

https://github.com/nikkiii/omegle-api-java

I tried to do this in eclipse, but I cannot import the project as a java project, and (I think) for this reason I cannot use the Export function to get jar files for the project. What is the easiest / best way to do this?

thanks

+4
source share
1 answer

This is the easiest way, assuming you have downloaded a zip file containing the .java source files from github:

  • Unzip the zip file to a folder in the Eclipse workspace, say omegle-api-java-master .
  • In Eclipse, select New-> Java Project and name it omegle-api-java-master . Eclipse will create a project from a source in your workspace and configure it using a java constructor.
  • Import all the necessary banks for compilation (for example, on the project page you need to https://github.com/douglascrockford/JSON-java ). You can extract this in your workspace in the same way, and then import into your Omegle project by right-clicking on the Omegle project, selecting Properties , selecting the Java Build Path , selecting the Projects tab and clicking Add .
  • Once everything compiles, right-click on the Omegle project, select Export Java JAR file , which will create a jar file for you.
+7
source

Source: https://habr.com/ru/post/1492537/


All Articles