diff options
| author | krasimir <krasimir@chalmers.se> | 2015-09-03 10:27:50 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2015-09-03 10:27:50 +0000 |
| commit | 7064181860d4ff4848c9632aa8c57ba103127532 (patch) | |
| tree | 499f242f6e12f1d8c3dcbfcd8ed98cbb8b4ba71a /src/runtime/java/INSTALL | |
| parent | e97e377b055b1532d5cb2fc555b566551d1ed2a3 (diff) | |
the Eclipse project for the Java binding is now replaced with a simple Makefile
Diffstat (limited to 'src/runtime/java/INSTALL')
| -rw-r--r-- | src/runtime/java/INSTALL | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/src/runtime/java/INSTALL b/src/runtime/java/INSTALL index b5be636fa..6d97dd279 100644 --- a/src/runtime/java/INSTALL +++ b/src/runtime/java/INSTALL @@ -1,22 +1,10 @@ -Before compiling Java binding you first need to have the C runtime -compiled and installed. In order to compile the binding itself you need -Eclipse plus the plugin for compiling C projects in -Eclipse (https://www.eclipse.org/cdt). Follow the instructions on -the web site. - -After you have done the above, import the directory where you have found -this INSTALL file as an existing project in Eclipse. The project has -two configurations one for Posix (Linux) systems and one for Windows. -You can change the configuration by right clicking on the project -and choosing "Properties" from the menu. Then go to C/C++ Build -and click on the button "Manage Configurations". Change the active -configuration from there. Now go to "C/C++ Build / Tool Chain Editor" -and check whether the current tool chain is the one for your platform. - -Build the project by selecting the menu "Project / Build Project". - -On Windows you might also have to change the following directories -from the "Properties" dialog: - -C/C++ Build / Settings / GCC C Compiler / Includes / Include paths -C/C++ Build / Settings / MinGW C++ Linker / Libraries / Library search paths +Before compiling the Java binding you first need to have the C runtime +compiled and installed. You also need to find where your jni.h header +is installed. It is part of the Java JDK, but it might be placed +in different places on different platforms. The path to the jni.h +header should be assigned to the JNI_PATH variable in the beginning +of the Makefile that you will find in the root directory of +the binding. Once this is done type: + +$ make +$ make install |
