Skip to content

How to add ORMAN to your project

ahmetalpbalkan edited this page Jul 23, 2011 · 3 revisions

Assuming you have a JAR build of ORMAN Core, you'll learn how to include ORMAN to your project.

Placing JAR files

It is a conventional method to create a folder named lib/ in the same level with your src/ directory and put JAR files under this directory.

Adding JAR to Classpath

In order to use JAR file in your project, you should configure your classpath of your project.

Eclipse IDE

Here's a good document about it: How to Add JARs to Project Build Paths in Eclipse (Java)

Command Line Execution and Compilation

To compile or execute your project with ORMAN.jar, you should use the following parameter in java or javac:

--classpath lib/orman.jar:other-jar-files-if-needed

Note that you should have orman.jar even after compiling and executing your project with java command. Separator : should be ; on Windows environment.

Clone this wiki locally