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

Cameron Shorter cameron.shorter at lisasoft.com
Mon Sep 14 16:00:59 PDT 2009


Java developers,
Thankyou all for weighing in Live DVD java requirements. I've created a 
ticket to track it at:
http://trac.osgeo.org/osgeo/ticket/442#preview

Have I summarised the issues correctly? If not, please discuss discuss 
on this list and CCs, and update the ticket if appropriate.

Jody, Simon, Byron, Ladon,
Can you please weigh in on the java version requirements of UDig, 
GeoNetwork and OpenJump.

Will they run with java5?

Could one of the java developers on this list please step up to update 
the scripts to install the appropriate version of java, and ensure 
OpenJDK is not installed. Once done, please let others know what you 
have done so it can be peer reviewed.

Judit Mays wrote:
> Okay,
>
> deegree is happy with either sun-java5 (preferred) or sun-java-6,
> GeoServer nedds sun-java-6,
>   
(Geosever also runs with sun-java-5)
> 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
>>     
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Live-demo mailing list
> Live-demo at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/live-demo
>   


-- 
Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254

Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
http://www.lisasoft.com




More information about the Osgeolive mailing list