OpenJUMP
OpenJump Configuration

general notes:

How to set the memory usage of JUMP?

You just modify this by adding -Xmx -Xms parameters either

eg.


"C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe" -Xms256M -Xmx512M -jar "C:\Program Files\Jump\jump.jar" -properties "C:\Program Files\Jump\workbench-properties.xml" -plug-in-directory "C:\Program
Files\Jump\lib\ext" 

In this example a minimum of 256M memory and at max 512 MB are allocated to JUMP.


How can i set the language for the menus in OpenJUMP?

The setting can be done in the startup file (e.g. openjump.bat). In general there are two options:

How to change the Skin (Layout) of JUMP?

use the following arguments right behind calling ”start javaw …” in the batch file or from command line


How to ensure that external plugins (i.e. extensions) are loaded?

check if the start option -plug-in-directory LIB/ext is used

if it is used, you may also
add to your startup script (e.g. the openjump.bat file) ;%LIB%/ext to the end of the CLASSPATH (window$)


How to set the path of the workbench-state.xml file?

use the following argument in the batch file or from command line:

-state “putHereFilePath”

the default value is to $HOME/.jump/ (similar as for workbench-properties file)

note:
a) this argument does not work for the log-file
b) the argument is implemented from nightly-built 26th August 2007 on



Optimizing Java for speed (Linux Environment)

If you’re editing large datasets using also large rasters as I do you’ll appreciate these two flags when starting Java:
-server -XX:+UseBiasedLocking

At the end of your ‘openjump.sh’ change the line to read:
$JAVA -server -XX:+UseBiasedLocking -cp $CLASSPATH:$JUMP_HOME/bin $JAVA_OPTS $MAIN $JUMP_OPTS $

From the documentation: -XX:+UseBiasedLocking
Enables a technique for improving the performance of uncontended synchronization. An object is “biased” toward the thread which first acquires its monitor via a monitorenter bytecode or synchronized method invocation; subsequent monitor-related operations performed by that thread are relatively much faster on multiprocessor machines. Some applications with significant amounts of uncontended synchronization may attain significant speedups with this flag enabled; some applications with certain patterns of locking may see slowdowns, though attempts have been made to minimize the negative impact.

HTH
Pedro Doria Meunier