VTK/Tutorials/JavaEnvironmentSetup

From KitwarePublic
< VTK‎ | Tutorials
Revision as of 22:55, 17 May 2010 by 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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

(Throughout the following we will assume it is installed in /opt/java, though you can install it wherever you please)

  • Use the following CMake settings:
    • JAVA_ARCHIVE /home/seb/Kitware/opt/jdk1.6.0_18/bin/jar
    • JAVA_AWT_INCLUDE_PATH /home/seb/Kitware/opt/jdk1.6.0_18/include
    • JAVA_AWT_LIBRARY /home/seb/Kitware/opt/jdk1.6.0_18/jre/lib/amd64/libjawt.so
    • JAVA_COMPILE /home/seb/Kitware/opt/jdk1.6.0_18/bin/javac
    • JAVA_INCLUDE_PATH /home/seb/Kitware/opt/jdk1.6.0_18/include
    • JAVA_INCLUDE_PATH2 /home/seb/Kitware/opt/jdk1.6.0_18/include/linux
    • JAVA_JVM_LIBRARY /home/seb/Kitware/opt/jdk1.6.0_18/jre/lib/amd64/server/libjvm.so
    • JAVA_RUNTIME /home/seb/Kitware/opt/jdk1.6.0_18/bin/java