Dashboard > uDig > Downloads > Archive > UDIG 0.3 > UDIG 0.3 Installation
uDig
UDIG 0.3 Installation
Added by Richard Gould , last edited by jeichar@refractions.net on Oct 12, 2004  (view change)
Labels: 
(None)

  1. Download a Java Runtime and required extentions (download versions with a installer, not a .zip)
    J2SE v 5.0 JRE, Advanced Imaging v 1.1.2 & Imaging IO v 1.0_01 RC
    J2SE v 5.0 JRE, Advanced Imaging v 1.1.2 & Imaging IO v 1.0.01 RC
    SDK 1.4.2, Java 3D and Advanced Imaging Update & Imaging IO v 1.0.01 RC
  2. Download the 3.1 M2 "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 0.3.
    Note: Currently no spaces should be in the directory path: "c:\Program Files" is not legal. It is recommended to unzip eclipse RCP in c:\
  4. Download UDIG 0.3 is and unzip it into your RCP Runtime Binary folder.
    If eclipse RCP was unzipped in c:\ then UDIG should be unzipped in c:\eclipse. Choose accept/ok when prompted to replace files.
  5. Run eclipse executable and enjoy

more...

Installation Tips & Tricks - Thanks Everyone

Thank you for installing UDIG 0.3 - the rest of this document is edited by the community can contains late breaking work arounds and fixes.

If you are using this page via online help you the live version of this page here:

Please help out and provide feedback, the above link allows for both editing by everyone, and comments to be added to the page.

Gotcha's

There are a few Gotcha's that numerous people have encountered:

  1. UDIG must be installed in the eclipse RCP directory. ie. the UDIG plugin directory should correspond to the eclipse RCP plugin directory. It is normal to get a prompt asking to replace files. UDIG supplies a config.ini file that replaces the one shipped with eclipse RCP.
  2. Make SURE that Java advanced imaging and image i/o are installed in the Java 1.5 directory not a different java install.
  3. The current version of eclipse RCP cannot be installed in a directory with a space. ie "Program Files". It is recommended to unzip eclipse RCP in c:\ and unzip UDIG in C:\eclipse

What is Java Advanced Imaging not recognized on my CLASSPATH?

Java Advanced Imaging is a JRE extention and should be installed in your JRE.

Installation should produce the following:

  • JRE/ext/libs - is where the JAR jars
  • JRE/bin - will contain native libraries

This process makes JAI a member of the BOOTCLASSPATH, and available to all applications
rather than a member of the Application specific CLASSPATH.

If you have used a Linux RPM to install JAI be aware that this will not work:

If this remains an issue we may be able to ask UDIG to search for content on the CLASSPATH as well.

Mac OS X And Java Advanced Imaging IO

When setting up Java Advanced Imaging IO use a linux CLASSPATH install and just use the jars.

Manual Install of Image IO Extensions:

  1. The download contains:
    clibwrapper_jiio.jar required jar
    jai_imageio.jar required jar
    milibwrapper_jai.jar fatal jar (JAI already installed one)
  2. Copy the two required jars (clibwrapper_jiio.jar & jai_imageio.jar ) to:
    • JRE:lib:ext

This procedure works for most operating systems - if you need to do things by hand.

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?

I cannot connect to Oracle

To connect to Oracle your need their proprietary libraries.

In order to use the Oracle module you need the JDBC driver from Oracle. Unlike most external libraries used in GeoTools, we cannot redistribute this jar. However, you can obtain them from the Oracle website, free of charge, after registering.

  1. Download Oracle JDBC Driver
  2. Update net.refractions.udig.libs/lib plugin directory:
    • place the jar in the lib directory
    • update plugin.xml with the following xml snipit
      <library name="lib/ojdbc14.jar.jar">
         <export name="*"/>
      </library>

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