- Download a Java Runtime and required extentions
J2SE v 1.4.2_05 JRE, Java Advanced Imaging & Java Imaging IO
J2SE v 5.0 RC JRE, Java Advanced Imaging & Java Imaging IO
SDK 1.4.2, Java 3D and Advanced Imaging Update & Java Imaging IO - Download the 3.1 M1 "RCP Runtime Binary" suitable for your platform
Windows 98/ME/2000/XP
Linux (x86/GTK 2)
Max OSX (Max/Carbon) - not well tested with UDIG - Unzip the RCP Runtime Binary where you would like to install UDIG
- Download UDIG 0.2 is and unzip it into your RCP Runtime Binary folder
- Run udig and enjoy
Fixes - Thanks Everyone
Fix your udig.bat, udig.sh to something that works:
eclipse.exe -application net.refractions.udig.ui.uDig -vmargs -Dosgi.parentClassloader=ext
This allows UDIG 0.2 to correctly find JAI, have a splash screen and generally behave nicely. In UDIG 0.3 this will be seemless.
To run eclipse.exe directly add these two lines to your config.ini:
osgi.parentClassloader=ext eclipse.application=net.refractions.udig.ui.uDig
Both these fixes will be included in the next release.
Mac OS X
Thanks to [~mrevelle] for the following:
For Mac OS X, you will just want to start up uDig by running Eclipse.app in the RCP directory. Running from Terminal with the uDig.sh will start up uDig but I can't find a way to switch focus to the application. Also, might need to figure out how to reference JAI and ImageIO in OS X (maybe it's done automatically?), I know I have the packages installed, and I know they work because I use them in my own Java apps?
Here is what I'm using in uDig.sh for Mac OS 10.3.5:
#!/bin/bash
JRE=$JAVA_HOME/jre/lib/ext
JAI_CP=$JRE/clibwrapper_jiio.jar:$JRE/jai_codec.jar:$JRE/jai_core.jar:$JRE/jai_imageio.jar:$JRE/mlibwrapper_jai.jar
java -Xbootclasspath/a:$JAI_CP -Dosgi.splashLocation=splash/splash.bmp -classpath startup.jar org.eclipse.core.launcher.Main -application net.refractions.udig.ui.uDig -os macosx -ws carbon -arch ppc -nl en_US