VTK/Tutorials/JavaEnvironmentSetup: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
Daviddoria (talk | contribs) (Created page with '* Download and install the sun JDK: http://java.sun.com/javase/downloads/widget/jdk6.jsp (Throughout the following we will assume it is installed in /opt/java, though you can ins…') |
Daviddoria (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
* Download and install the sun JDK: http://java.sun.com/javase/downloads/widget/jdk6.jsp | * Download and install the sun JDK: http://java.sun.com/javase/downloads/widget/jdk6.jsp | ||
(Throughout the following we will assume it is installed in /opt/java, though you can install it wherever you please) | (Throughout the following we will assume it is installed in /opt/java, though you can install it wherever you please) | ||
* Add /opt/java/jre/lib/i386 and /opt/java/jre/lib/i386/xawt to LD_LIBRARY_PATH (in ~/.bashrc) | |||
* Add | |||
export JAVA_HOME=/opt/java | |||
to ~/.bashrc | |||
* Use the following CMake settings: | * Use the following CMake settings: | ||
Revision as of 23:46, 17 May 2010
- Download and install the sun JDK: http://java.sun.com/javase/downloads/widget/jdk6.jsp
(Throughout the following we will assume it is installed in /opt/java, though you can install it wherever you please)
- Add /opt/java/jre/lib/i386 and /opt/java/jre/lib/i386/xawt to LD_LIBRARY_PATH (in ~/.bashrc)
- Add
export JAVA_HOME=/opt/java
to ~/.bashrc
- Use the following CMake settings: