[Live-demo] java version on the live dvd?

Judit Mays mays at lat-lon.de
Mon Sep 14 06:46:54 PDT 2009


Okay,

deegree is happy with either sun-java5 (preferred) or sun-java-6,
GeoServer nedds sun-java-6,
gvSIG needs sun-java-5,

Then we should kick out the OpenJDK (unless other projects need it).
Cameron?

Let us ensure to install both sun-java-5 and sun-java-6 at the
localtions mentioned by Jorge:
/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-1.5.0-sun

Setting JAVA_HOME globally is no option after all, because at least
GeoServer and gvSIG will not be able to use the same settings here.
The different projects should take care of JAVA_HOME separately then.

Does this sound good to you?

Kind regards,
Judit


Jorge Gaspar Sanz Salinas schrieb:
> Andrea Aime escribió:
>> Judit Mays ha scritto:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Hello list,
>>>
>>> deegree is happy to run with Java5 or Java6
>>> deegree is picky about the Java "supplier": we want SUN-Java only.
>> GeoServer as well needs Sun version.
> 
>> In the GeoServer install script I first had it install sun-jdk version
>> 6 and then forced JAVA_HOME in the launch scripts for good measure
>> since, for some reason, the image comes with OpenJDK installed and
>> as the default java runtime.
> 
>> If also deegree is happy with it we can probably have a separate script
>> that installs java instead of repeating it all over the place.
> 
> I agree that, I was just thinking on it this morning because gvSIG also
> needs the SUN JRE (1.5 I'm afraid) and it makes sense to have all the
> java stuff together (installation, variable setting, etc.), to have
> paths controlled.
> 
> Anyway it seems the common locations for JRE are:
> 
> /usr/lib/jvm/java-6-sun
> /usr/lib/jvm/java-1.5.0-sun
> 
> that in fact are symlinks to real folders so we should use them, don't we?
> 
> 
>>> would it be possible to set the JAVA_HOME variable globally so all Java
>>> projects can use it?
>> Makes sense, not sure where that can be done thought. I think there
>> is a file in /etc where global var can be set but I don't remember its name
> 
> 
> Maybe you were thinking on the debian alternatives system so for example
> in my machine:
> 
> $ ls -l /etc/alternatives/java
> [...] /etc/alternatives/java -> /usr/lib/jvm/java-6-sun/jre/bin/java
> 
> 
> Cheers

-- 
l a t / l o n  GmbH
Aennchenstrasse 19               53177 Bonn, Germany
phone ++49 +228 18496-0          fax ++49 +228 18496-29
http://www.lat-lon.de            http://www.deegree.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/osgeolive/attachments/20090914/afe967b0/attachment.sig>


More information about the Osgeolive mailing list