[Live-demo] java version on the live dvd?
Jorge Gaspar Sanz Salinas
jsanz at osgeo.org
Mon Sep 14 06:37:34 PDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
- --
Jorge Gaspar Sanz Salinas
Ingeniero en Geodesia y Cartografía
http://es.osgeo.org
http://wiki.osgeo.org/wiki/Jorge_Sanz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEcBAEBAgAGBQJKrkceAAoJEAOYD75lvHdBuU0H/3K5/Z+AHEgxL7ZR5anPJw4g
mI9IlLGQp/qYupKtQSMLUhQFXnuT1bD++tFSZssfWiKYqiAicWzPO1xqdbfqLQlR
UfCovUvLz8R51yMBF5h0+Q1jYEh5lOwJ8+gmwiLGbxex2gmM0Lm/N3GOD0mpVqA6
g1KTpxCTx1VxL47cgizj7JYTFkwnR0iWVtnUUCJvBRPprXgwNOG+0zmVA45RhwCJ
jKu6F1QftrDppXW4DDJcj9O5IZBkPOu8jciCtbWUJCegKNRZt8wK5hIp3U+Ga4YO
VwUAmt8LF3vXFhtPB6CvrMBc4LzCXwUPqId1viqyhLNG5J3TaU2aD5FqRqSkVpQ=
=fTjz
-----END PGP SIGNATURE-----
More information about the Osgeolive
mailing list