I don't want to annoy the mailing list continuing repeating the same thing (I swear that I'll not repeat it anymore..) but with the portable version of gvSIG there are no problem regarding which JRE to use (because it is included in the main folder and referenced by a relative path)..<br>
<br><div class="gmail_quote">2012/6/14 Francisco Puga <span dir="ltr"><<a href="mailto:fpuga@cartolab.es" target="_blank">fpuga@cartolab.es</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Great,<br>
<br>
anyway i'm pretty sure that the ticket will be fixed in the next build<br>
<br>
2012/6/13 Antonio Falciano <<a href="mailto:afalciano@yahoo.it">afalciano@yahoo.it</a>>:<br>
> Hi Francisco,<br>
> thank you very much for your kind explanation. It seems very easy to<br>
> customize the gvsig-desktop.exe file and avoid the issues discussed<br>
> yesterday in this thread [1].<br>
><br>
> Cheers,<br>
> Antonio<br>
><br>
> [1]<br>
> <a href="http://listserv.gva.es/pipermail/gvsig_internacional/2012-June/008440.html" target="_blank">http://listserv.gva.es/pipermail/gvsig_internacional/2012-June/008440.html</a><br>
><br>
> Il 13/06/2012 16.35, Francisco Puga ha scritto:<br>
>> AFAIK that's not possible. Sorry.<br>
>><br>
>> gvSIG 1.12 builds the Windows launcher (gvsig-desktop.exe) using<br>
>> launch4j [1] as it's being done in gvSIG 2.0. The<br>
>> gvsig-desktop.l4j.ini allows pass arguments to the jre at runtime but<br>
>> nothing more.<br>
>><br>
>> You should make your own gvsig-desktop.exe file to make what you want<br>
>> but it's easy.<br>
>><br>
>> 1.- Download launch4j<br>
>> 2.- Hack this file<br>
>> <a href="https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/entry/trunk/install/launch4j/gvsig.xml" target="_blank">https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/entry/trunk/install/launch4j/gvsig.xml</a><br>
>> (see how it's done in the gvsig-desktop of the portable version here [2]<br>
>><br>
>> 3.- Execute launch4j with your hacked configuration file.<br>
>> 4.- Replace your gvsig executable with yours<br>
>><br>
>> The other option is that you create a .bat file similar to this:<br>
>> <a href="https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/entry/tags/v1_11_0_Build_1305/frameworks/_fwAndami/gvSIG.bat" target="_blank">https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/entry/tags/v1_11_0_Build_1305/frameworks/_fwAndami/gvSIG.bat</a><br>
>><br>
>> or similar to the gvSIG.sh file distributed with the linux version<br>
>><br>
>><br>
>><br>
>><br>
>> [1] <a href="http://launch4j.sourceforge.net/docs.html" target="_blank">http://launch4j.sourceforge.net/docs.html</a><br>
>> [2] <a href="http://gitorious.org/exteielstack/exteielutils/blobs/master/portable_gvsig.xml" target="_blank">http://gitorious.org/exteielstack/exteielutils/blobs/master/portable_gvsig.xml</a><br>
>><br>
>> 2012/6/13 Antonio Falciano<<a href="mailto:afalciano@yahoo.it">afalciano@yahoo.it</a>>:<br>
>>> Hi all,<br>
>>> how to declare the JRE_HOME (or JAVA_HOME) in the new gvSIG<br>
>>> initialization file gvsig-desktop.l4j.ini in order to avoid the use of<br>
>>> the system JRE? If I add a JRE_HOME entry in desktop.l4j.ini, gvSIG is<br>
>>> not executed at all! :(<br>
>>><br>
>>> Cheers,<br>
>>> Antonio<br>
>>><br>
>>> --<br>
>>> Antonio Falciano<br>
>>> <a href="http://www.linkedin.com/in/antoniofalciano" target="_blank">http://www.linkedin.com/in/antoniofalciano</a><br>
>>> _______________________________________________<br>
>>> Gvsig_internacional mailing list<br>
>>> <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
>>><br>
>>> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:<br>
>>><br>
>>> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
>><br>
>><br>
>><br>
><br>
> --<br>
> Antonio Falciano<br>
> <a href="http://www.linkedin.com/in/antoniofalciano" target="_blank">http://www.linkedin.com/in/antoniofalciano</a><br>
> _______________________________________________<br>
> Gvsig_internacional mailing list<br>
> <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
><br>
> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:<br>
><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
<br>
<br>
<br>
--<br>
Francisco Puga<br>
Grupo de Desarrollo<br>
Cartolab - Laboratorio de Ingeniería Cartográfica.<br>
<a href="http://www.cartolab.es" target="_blank">http://www.cartolab.es</a><br>
<br>
ETS Ingeniería de Caminos, Canales y Puertos<br>
Universidade da Coruña<br>
Campus de Elviña - 15071 A Coruña (España)<br>
(34)981167000 ext. 5493<br>
_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
<br>
To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:<br>
<br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
</blockquote></div><br>