🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #799

Re: Problema con el .JAR Arreglado

#799
From: Ricardo Palomares Martinez
Date: Tue, 12 Dec 2006 20:52
27 lines
1850 bytes
Yamilé escribió:
> Incluí en la variable de entorno Classpath y Path lo siguiente:
> CLASSPATH
> C:\Archivos de programa\Java\jdk1.5.0_06\bin;C:\Archivos de
> programa\Java\jre1.5.0_06\bin;
> 
> PATH
> C:\Archivos de programa\Java\jdk1.5.0_06\bin;C:\Archivos de
> programa\Java\jre1.5.0_06\bin;
> 
> Si cuando generas el .jar en el NETBEANS usas jdk1.5.0_09 puess,
> agregas el jdk1.5.0_09 en dichas variables.  Entonces! Ya me funciona
> el toda máquina que tenga dicho JDK y JRE


La mejor manera de evitar problemas como ése es definir la variable
JAVA_HOME y las variables CLASSPATH y PATH en función de aquélla:

JAVA_HOME=C:\Archivos de Programa\Java\jdk1.5.0_09
CLASSPATH=%JAVA_HOME%\lib;%CLASSPATH%
PATH=%JAVA_HOME%\jre\bin;%PATH%

Saludos.

-- 
If it's true that we are here to help others,
then what exactly are the OTHERS here for?
Technical Details
Message-ID: <aeh354-sd6.ln1@Father.family>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.germany.com!aioe.org!Father.family!news
References: <1165926146.743199.326220@73g2000cwn.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1116f3,1c0938cfbfb78a0d
X-Google-Attributes: gid1116f3,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.germany.com!aioe.org!Father.family!news
From: Ricardo Palomares Martinez <rpm.PUBLI@iespana.es>
Newsgroups: es.comp.lenguajes.java
Subject: Re: Problema con el .JAR Arreglado
Date: Tue, 12 Dec 2006 21:52:58 +0100
Organization: Hogar, dulce hogar
Lines: 27
Message-ID: <aeh354-sd6.ln1@Father.family>
References: <1165926146.743199.326220@73g2000cwn.googlegroups.com>
NNTP-Posting-Host: yS4tTDXHZlJyjyXa/OwWgQ.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1) Gecko/20061101 SeaMonkey/1.1b Mnenhy/0.7.4.0