Dashboard > uDig > Downloads > Archive > UDIG 0.2 > UDIG 0.2 Installation
uDig
UDIG 0.2 Installation
Added by jive , last edited by jive on Sep 30, 2004  (view change)
Labels: 
(None)

  1. 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
  2. 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
  3. Unzip the RCP Runtime Binary where you would like to install UDIG
  4. Download UDIG 0.2 is and unzip it into your RCP Runtime Binary folder
  5. Run udig and enjoy

more...

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

Powered by a free Atlassian Confluence Open Source Project License granted to uDig. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators
User-friendly Desktop Internet GIS