VTK/Tutorials/JavaEnvironmentSetup

From KitwarePublic
< VTK‎ | Tutorials
Revision as of 23:46, 17 May 2010 by Daviddoria (talk | contribs)
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)

  • 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: