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.
source share