Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] How does uDig detect java?

Hi Chris - thanks for downloading and testing.

When starting up uDig 0.3 I get a JAI not found.  Which is nice, but I
have plenty of JRE's with JAI and ImageIO.

UDIG uses the "current" JRE (as per registry settings in windows, path in linux). You can specify one yourself (make a short cut and add in the "-vm C:\Program Files\Javasoft\Java\JRE .....".

would like to keep it that way.  But uDig seems to be choosing my JRE
that doesn't have it installed.  How can I change which version it
looks for?  It seems to ignore my JAVA_HOME column - is it using the
registry or something?  Or am I just doing something silly?
You can also update what your "current" VM is in the registry:
Run: regedit
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
CurrentVession = 1.5

The childern of this key are the available JREs that you could uses for CurrentVersion The last install you did will clobber the existing value - so windows usually just points at the last JRE you installed.

Right now we are using JRE 1.5 and the latest batch of JAI / ImageIO. We figure that this is what "new" users would end up downloading.

Any suggestions or you have would be very welcome - we are writing up documents this week outlining what we plan to do.

Oh yeah, I'm on windows xp.  And uDig works on Java 1.4, right?  You may
want to put that in the quickstart guide, as it implicitly seems to say
that you need 1.5 with windows or linux.
I will put that in the install instructions - quickstart should be short & simple.


Back to the top