summaryrefslogtreecommitdiff
path: root/src/runtime/java
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-02-27 20:20:59 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-02-27 20:20:59 +0000
commitaeeabe3f0e3b206ee91a3cc700e223b4cf6bfa7a (patch)
treee6923cd446479a8339fc2471183781d37b93a7f0 /src/runtime/java
parent994d936ce96b0f2c2729e6d0d620569db3d887d1 (diff)
added file with instructions for compiling the Java binding
Diffstat (limited to 'src/runtime/java')
-rw-r--r--src/runtime/java/INSTALL20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/runtime/java/INSTALL b/src/runtime/java/INSTALL
new file mode 100644
index 000000000..0e8f99b06
--- /dev/null
+++ b/src/runtime/java/INSTALL
@@ -0,0 +1,20 @@
+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.
+
+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