You are here: GSI Wiki>DABC Web>DabcControls>DimLinux (2010-08-18, HansEssel)Edit Attach

Comments to build DIM on Linux

Build on Lynx
Current version is dim_v19r3

Since DIM version v18 the memory leak in the java interface has been fixed.
To build the Java part at GSI,
JAVA_HOME=/usr/lib/j2sdk1.5-sun
JDK_INCLUDE=$JAVA_HOME/include
ODIR=linux
OS=Linux
DIMDIR to top directory
make 32BITS=yes JDIM=yes
The /jdim/makefile does not create the jar file. For that, go into classes and
jar -cf ../dim.jar dim/*.class
It is important that in the jar file the top directory is dim.

In the dimlogin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIMDIR/linux
PATH=$PATH:$DIMDIR/linux
CLASSPATH=.:$DIMDIR/jdim/dim.jar

-- HansEssel - 28 August 2009
Topic revision: r3 - 2010-08-18, HansEssel - This page was cached on 2024-12-20 - 12:24.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)