Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] uDig 0.6 problems with JAI in Windows 2000

I had major problems with this back with 0.4, which is why I am waiting
for the windows installer.  If you are a java developer, with lots of
jre's and jdks, then udig does not do a good job of getting the right one
(imho, as I spent half a day on this, it's just not flexible, ignores your
JAVA_HOME when I think that's what it should use first, since it's
actually under the control of the programmer, instead of random registry
variables).  I think the suspicions about the JDk may be correct though,
if I remember right.  If you do the jdk install of the jai stuff then it
goes into the private jre, when udig uses the public one.  So I think you
need to download the installers that say they are for the jre, and install
a jre only.  I believe that finally got me working with it.

Chris

On Tue, 21 Dec 2004, Jody Garnett wrote:

> Alvaro Zabala wrote:
> 
> >I have just download udig 0.6.
> >(and all needed files: jai, jai imaging io, eclipse rcp, jdk 1.5).
> >  
> >
> Question: Udig is a client application - should we be using a JRE? I 
> know we do so on windows .. and the Download page links to a JRE. Hmm....
> 
> >When I run uDig, I get this message:
> >
> >Warning: Java Advanced Imaging (JAI) is not installed.
> >  
> >
> This page may also help: 
> http://docs.codehaus.org/display/UDIG/Linux+System+Check
> 
> >After that, uDIG never runs.
> >
> >I installed JAI in JDK 1.5 libs directory (jre/lib/ext/).
> >
> >Is this a windows problem?
> >  
> >
> Are you on windows? If so the problem is the JDK, please install the JRE 
> downloads for JAI and ImageIO as outline here:
> 
> > http://docs.codehaus.org/display/UDIG/Windows+System+Check
> >  
> >
> Based on your forward slash characters I thought you were on linux? If 
> you can reply either way I can be of further assistence.
> 
> >How can I set classpath with uDIG executable (.exe)?
> >
> Unfortantly a classpath won't do us any good, eclipse taks complete 
> control of classloaders. The magic is in the config.ini file - we have 
> made it use a -bootclass path entry so that JAI is recognized.  There 
> are other options, including a classpath one. But I don't think this is 
> what you want....
> 
> Can you please ensure you are working with the JRE? The JRE is usually 
> installed in C:\Program Files\Java\Java5.0.0_1. See: 
> http://docs.codehaus.org/display/UDIG/Windows+JRE+Install
> 
> As you can tell we are working towards better instructions ... any 
> feedback is very much appricated.
> Jody
> 
> 
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
> 

-- 



Back to the top