[Gvsig_english] How to declare the JRE_HOME in gvSIG 1.12?

Francisco Puga fpuga at cartolab.es
Thu Jun 14 13:22:29 CEST 2012


Great,

anyway i'm pretty sure that the ticket will be fixed in the next build

2012/6/13 Antonio Falciano <afalciano at yahoo.it>:
> Hi Francisco,
> thank you very much for your kind explanation. It seems very easy to
> customize the gvsig-desktop.exe file and avoid the issues discussed
> yesterday in this thread [1].
>
> Cheers,
> Antonio
>
> [1]
> http://listserv.gva.es/pipermail/gvsig_internacional/2012-June/008440.html
>
> Il 13/06/2012 16.35, Francisco Puga ha scritto:
>> AFAIK that's not possible. Sorry.
>>
>> gvSIG 1.12 builds the Windows launcher (gvsig-desktop.exe) using
>> launch4j [1] as it's being done in gvSIG 2.0. The
>> gvsig-desktop.l4j.ini allows pass arguments to the jre at runtime but
>> nothing more.
>>
>> You should make your own gvsig-desktop.exe file to make what you want
>> but it's easy.
>>
>> 1.- Download launch4j
>> 2.- Hack this file
>> https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/entry/trunk/install/launch4j/gvsig.xml
>> (see how it's done in the gvsig-desktop of the portable version here [2]
>>
>> 3.- Execute launch4j with your hacked configuration file.
>> 4.- Replace your gvsig executable with yours
>>
>> The other option is that you create a .bat file similar to this:
>> https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/entry/tags/v1_11_0_Build_1305/frameworks/_fwAndami/gvSIG.bat
>>
>> or similar to the gvSIG.sh file distributed with the linux version
>>
>>
>>
>>
>> [1] http://launch4j.sourceforge.net/docs.html
>> [2] http://gitorious.org/exteielstack/exteielutils/blobs/master/portable_gvsig.xml
>>
>> 2012/6/13 Antonio Falciano<afalciano at yahoo.it>:
>>> Hi all,
>>> how to declare the JRE_HOME (or JAVA_HOME) in the new gvSIG
>>> initialization file gvsig-desktop.l4j.ini in order to avoid the use of
>>> the system JRE? If I add a JRE_HOME entry in desktop.l4j.ini, gvSIG is
>>> not executed at all! :(
>>>
>>> Cheers,
>>> Antonio
>>>
>>> --
>>> Antonio Falciano
>>> http://www.linkedin.com/in/antoniofalciano
>>> _______________________________________________
>>> Gvsig_internacional mailing list
>>> Gvsig_internacional at listserv.gva.es
>>>
>>> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:
>>>
>>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>>
>>
>>
>
> --
> Antonio Falciano
> http://www.linkedin.com/in/antoniofalciano
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
>
> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:
>
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional



-- 
Francisco Puga
Grupo de Desarrollo
Cartolab - Laboratorio de Ingeniería Cartográfica.
http://www.cartolab.es

ETS Ingeniería de Caminos, Canales y Puertos
Universidade da Coruña
Campus de Elviña - 15071 A Coruña (España)
(34)981167000 ext. 5493


More information about the Gvsig_internacional mailing list