Commit f09349dc authored by Timothee Habra's avatar Timothee Habra

add apt-get java and jva 3d issue #4

parent b6af0c8b
### Manual installation of Java and Java 3d
Download _Java SE Development Kit 7_. For instance, follow this [link](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) and download _jdk-7uxx-linux-x64.tar.gz_.
Copy the include folder containing _jni.h_ into _usr/lib/jvm/java-7-openjdk-amd64_ (or equivalent) -> download [Open JDK](http://openjdk.java.net/) if not installed yet.
* _sudo cp -r jdk1.7.0_xx/include/ /usr/lib/jvm/java-7-openjdk-amd64/_
Copy the _lib_ folder into _usr/lib/jvm/java-7-openjdk-amd64/jre_ (or equivalent).
* _sudo cp -r jdk1.7.0_xx/jre/lib/ /usr/lib/jvm/java-7-openjdk-amd64/jre/_
Download _Java 3D_. For instance, you can use this [link](https://java3d.java.net/binary-builds.html) and download _j3d-1_5_2-linux-amd64.zip_.
Unzip _j3d-jre.zip_ to get the _lib_ folder
Copy _libj3dcore-ogl.so_ into _usr/lib/jvm/java-7-openjdk-amd64/jre/bin_ (or equivalent).
* _sudo cp j3d-1_5_2-linux-amd64/lib/amd64/libj3dcore-ogl.so /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/_
......@@ -57,28 +57,17 @@ Install [SDL 2.0](http://www.libsdl.org/) to plot graphs and interact with the s
Alternatively, if you prefer to install it manually, you can follow these [instructions](Documentation/src/installSDL.md)
### Java for the real-time visualization ###
Download _Java SE Development Kit 7_. For instance, follow this [link](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) and download _jdk-7uxx-linux-x64.tar.gz_.
Copy the include folder containing _jni.h_ into _usr/lib/jvm/java-7-openjdk-amd64_ (or equivalent) -> download [Open JDK](http://openjdk.java.net/) if not installed yet.
* _sudo cp -r jdk1.7.0_xx/include/ /usr/lib/jvm/java-7-openjdk-amd64/_
Copy the _lib_ folder into _usr/lib/jvm/java-7-openjdk-amd64/jre_ (or equivalent).
* _sudo cp -r jdk1.7.0_xx/jre/lib/ /usr/lib/jvm/java-7-openjdk-amd64/jre/_
Download _Java 3D_. For instance, you can use this [link](https://java3d.java.net/binary-builds.html) and download _j3d-1_5_2-linux-amd64.zip_.
Unzip _j3d-jre.zip_ to get the _lib_ folder
Install [Open JDK](http://openjdk.java.net/)
Copy _libj3dcore-ogl.so_ into _usr/lib/jvm/java-7-openjdk-amd64/jre/bin_ (or equivalent).
* _sudo apt-get install openjdk-7-jdk_
* _sudo cp j3d-1_5_2-linux-amd64/lib/amd64/libj3dcore-ogl.so /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/_
Install Java 3d
* _sudo apt-get install libjava3d-jni_
Alternatively, if you prefer to install it manually, you can follow these [instructions](Documentation/src/installJava.md)
## - Windows - ##
......
......@@ -61,6 +61,7 @@ ELSE (APPLE)
# possible paths for: 'libj3dcore-ogl.so'
SET(TRIAL_PATHS_DLL
/usr/lib/jni
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin
/usr/lib/jvm/java-6-sun/jre/bin
/usr/lib/jvm/java-7-openjdk-amd64/jre/i386
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment