back to New User Guide page
chmod +x openjump.sh
(+x commmnd makes openjump script executable)
./openjump.sh
1. The Java version to be run…
Linux Distros come with a open-source version of Java.
OpenJUMP will use that per default. Should one want to use Sun’s Java (recommended) some changes are necessary to the $JUMPHOME/bin/openjump-unix.sh script:
JAVA_HOME=/usr/java/latest/bin (usually there but distro-dependent—or wherever you’ve installed it)
The last line of the script (calling Java) should be like this:
$JAVA_HOME/java -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -Dlog4j.configuration=file:./log4j.xml -Xms512M -Xmx1024M -cp $CLASSPATH com.vividsolutions.jump.workbench.JUMPWorkbench -properties workbench-properties.xml -plug-in-directory $LIB/ext
2. Also be sure to correctly specify OpenJump’s installation folder in JUMPHOME.
3. From an Ubuntu 7.04 user with PostgreSQL 8.2 and PostGIS 1.3.1:
I spent a long time trying to get my OpenJump to open a PostGIS layer. The basic problem seemed to be OpenJump’s inability to find the JDBC jar file.
My JDBC for PostgreSQL is in /usr/share/java and is called postgresql-jdbc3-8.2.jar
When I appended /usr/share/java/postgresql-jdbc3-8.2.jar to the CLASSPATH= line, this allowed me to get at my PostGIS layers.
<—previous: Introduction |||| next: Installation – Mac OSX—>