I don&#39;t want to annoy the mailing list continuing repeating the same thing (I swear that I&#39;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">&lt;<a href="mailto:fpuga@cartolab.es" target="_blank">fpuga@cartolab.es</a>&gt;</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&#39;m pretty sure that the ticket will be fixed in the next build<br>
<br>
2012/6/13 Antonio Falciano &lt;<a href="mailto:afalciano@yahoo.it">afalciano@yahoo.it</a>&gt;:<br>
&gt; Hi Francisco,<br>
&gt; thank you very much for your kind explanation. It seems very easy to<br>
&gt; customize the gvsig-desktop.exe file and avoid the issues discussed<br>
&gt; yesterday in this thread [1].<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Antonio<br>
&gt;<br>
&gt; [1]<br>
&gt; <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>
&gt;<br>
&gt; Il 13/06/2012 16.35, Francisco Puga ha scritto:<br>
&gt;&gt; AFAIK that&#39;s not possible. Sorry.<br>
&gt;&gt;<br>
&gt;&gt; gvSIG 1.12 builds the Windows launcher (gvsig-desktop.exe) using<br>
&gt;&gt; launch4j [1] as it&#39;s being done in gvSIG 2.0. The<br>
&gt;&gt; gvsig-desktop.l4j.ini allows pass arguments to the jre at runtime but<br>
&gt;&gt; nothing more.<br>
&gt;&gt;<br>
&gt;&gt; You should make your own gvsig-desktop.exe file to make what you want<br>
&gt;&gt; but it&#39;s easy.<br>
&gt;&gt;<br>
&gt;&gt; 1.- Download launch4j<br>
&gt;&gt; 2.- Hack this file<br>
&gt;&gt; <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>

&gt;&gt; (see how it&#39;s done in the gvsig-desktop of the portable version here [2]<br>
&gt;&gt;<br>
&gt;&gt; 3.- Execute launch4j with your hacked configuration file.<br>
&gt;&gt; 4.- Replace your gvsig executable with yours<br>
&gt;&gt;<br>
&gt;&gt; The other option is that you create a .bat file similar to this:<br>
&gt;&gt; <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>

&gt;&gt;<br>
&gt;&gt; or similar to the gvSIG.sh file distributed with the linux version<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; [1] <a href="http://launch4j.sourceforge.net/docs.html" target="_blank">http://launch4j.sourceforge.net/docs.html</a><br>
&gt;&gt; [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>
&gt;&gt;<br>
&gt;&gt; 2012/6/13 Antonio Falciano&lt;<a href="mailto:afalciano@yahoo.it">afalciano@yahoo.it</a>&gt;:<br>
&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt; how to declare the JRE_HOME (or JAVA_HOME) in the new gvSIG<br>
&gt;&gt;&gt; initialization file gvsig-desktop.l4j.ini in order to avoid the use of<br>
&gt;&gt;&gt; the system JRE? If I add a JRE_HOME entry in desktop.l4j.ini, gvSIG is<br>
&gt;&gt;&gt; not executed at all! :(<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt; Antonio<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Antonio Falciano<br>
&gt;&gt;&gt; <a href="http://www.linkedin.com/in/antoniofalciano" target="_blank">http://www.linkedin.com/in/antoniofalciano</a><br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Gvsig_internacional mailing list<br>
&gt;&gt;&gt; <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Antonio Falciano<br>
&gt; <a href="http://www.linkedin.com/in/antoniofalciano" target="_blank">http://www.linkedin.com/in/antoniofalciano</a><br>
&gt; _______________________________________________<br>
&gt; Gvsig_internacional mailing list<br>
&gt; <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
&gt;<br>
&gt; To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:<br>
&gt;<br>
&gt; <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>