OpenJUMP
Linux
back to New User Guide page
OpenJUMP requires
Java 1.5 or greater already installed.
To setup OpenJUMP in Linux or in Unix, use the following instructions; eventually see also
Installation Instructions tips for all Operative Systems.
OpenJUMP Stable Version and OpenJUMP Nightly Build
- The platform-independent version of OpenJUMP comes under the form of a compressed archive (ZIP).
To install, decompress the archive in your hard drive, for example into c:/OpenJUMP
You will see the following folder structure:
- c:/OpenJUMP/
- c:/OpenJUMP/bin
- c:/OpenJUMP/lib
- In the BIN folder there are the statup scripts for Linux/Unix: openjump-unix.sh or openjump.sh. There is an improved script for unix: openjump-unix2.sh
- Eventually, to run OpenJUMP first make the startup script executable. For instance, if you want to use openjump.sh file, open the consolle and write:
chmod +x openjump.sh
(+x commmnd makes openjump script executable)
- Run Openjump by consolle with this command:
./openjump.sh
A few notes about Linux installation:
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—>
Showing changes from revision #5 to #6:
Added | Removed
back to New User Guide page
OpenJUMP requires
Java 1.5 or greater already installed.
To setup OpenJUMP in Linux or in Unix, use the following instructions; eventually see also
Installation Instructions tips for all Operative Systems.
OpenJUMP Stable Version and OpenJUMP Nightly Build
- The platform-independent version of OpenJUMP comes under the form of a compressed archive (ZIP).
To install, decompress the archive in your hard drive, for example into c:/OpenJUMP
You will see the following folder structure:
- c:/OpenJUMP/
- c:/OpenJUMP/bin
- c:/OpenJUMP/lib
- In the BIN folder there are the statup scripts for Linux/Unix: openjump-unix.sh or openjump.sh. There is an improved script for unix: openjump-unix2.sh
- Eventually, to run OpenJUMP first make the startup script executable. For instance, if you want to use openjump.sh file, open the consolle and write:
chmod +x openjump.sh
(+x commmnd makes openjump script executable)
- Run Openjump by consolle with this command:
./openjump.sh
A few notes about Linux installation:
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—>