Thank you (all) for advices.<br><br>1. I tried to run gvSIG under default (Sun) java instance using -d32 switch. It does not work:<br>&quot;Running a 32-bit JVM is not supported on this platform.&quot;<br><br>2. Assumed that java packed with gvSIG (de facto existing in /opt/gvsig-oade-2010-1.0.0/jre but not visible using &quot;update-alternatives --config java&quot;) should work.<br>
Modified gvSIG.sh - explicitly declared location of java and necessary libraries. <br>Got:<br><br>Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: /opt/gvsig-oade-2010-1.0.0/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory<br>
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br>    at java.lang.ClassLoader.loadLibrary0(Unknown Source) ....(more)<br><br>-&gt; i.e. problem finding libXext.so.<br><br>3. Found libXext.so in a filesystem - it exists in /usr/lib. Once more edited gvSIG.sh (explicitly including /usr/lib in LD_LIBRARY_PATH= statement).<br>
Got: <br><br>Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: /opt/gvsig-oade-2010-1.0.0/jre/lib/i386/xawt/libmawt.so: libXext.so.6: wrong ELF class: ELFCLASS64<br>    at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br>
    at java.lang.ClassLoader.loadLibrary0(Unknown Source) ....(more)<br><br><br><br>At the moment shell sccipt looks like:<br><br>cd &quot;/opt/gvsig-oade-2010-1.0.0/bin/&quot;<br><br>export GVSIG_LIBS=&quot;/opt/gvsig-oade-2010-1.0.0/libs&quot;<br>
export LD_LIBRARY_PATH=&quot;/usr/lib&quot;<br>export LD_LIBRARY_PATH=&quot;$GVSIG_LIBS:$LD_LIBRARY_PATH&quot;<br>export PROJ_LIB=&quot;./gvSIG/extensiones/org.gvsig.crs/data&quot;<br>export GDAL_DATA=&quot;$GVSIG_LIBS/gdal_data&quot;<br>
<br>if test ...  <br>(unchanged part) ...<br>  LIBRARIES=$LIBRARIES:&quot;$i&quot;<br>done<br><br># Setup Java environment and run gvSIG.<br><br># Java tuning settings.<br>MAX_HEAP=1024<br>INI_HEAP=1024<br><br>/opt/gvsig-oade-2010-1.0.0/jre/bin/java -d32 -Djava.library.path=/usr/lib:/opt/gvsig-oade-2010-1.0.0/libs -cp andami.jar$LIBRARIES -Xms${INI_HEAP}M -Xmx${MAX_HEAP}M com.iver.andami.Launcher gvSIG gvSIG/extensiones &quot;$@&quot;<br>
<br>What I&#39;m doing wrong?<br><br>Thank you in advance.<br>Janis<br>