🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #13775

Configurar el "path" y el "classpath" para JDK

#13775
From: Oscar
Date: Thu, 18 Jan 2001 17:05
11 lines
1388 bytes
Tengo el Jdk instalado en mi Red Hat 7. Necesitar�a que me contaseis como
configurar el "path" y el "classpath" para poder utilizar los comandos del
jdk sin estar en el directorio "\usr\java\jdk1.3\bin". Cada vez que hago una
aplicaci�n y me meto en dicho directorio me funciona todo bien, pero a la
hora de ejecutar los ".class" para ver mis aplicaciones me da el siguiente
error: "Exception in thread "main" java.lang.NoClassDefFoundError:
HolaMundoApp/class". Porqu� me d� el error? creo que por el classpath, no?

Muchas gracias por vuestra ayuda.

Saludos ;-)
Technical Details
Message-ID: <94777q$4ln$1@talia.mad.ttd.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.mad.ttd.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,60c5a337304d9830,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-01-18 09:04:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.mad.ttd.net!not-for-mail
From: "Oscar" <oscarcruz@retemail.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Configurar el "path" y el "classpath" para JDK
Date: Thu, 18 Jan 2001 18:05:10 +0100
Organization: Telefonica Transmision de Datos
Lines: 15
Message-ID: <94777q$4ln$1@talia.mad.ttd.net>
NNTP-Posting-Host: 213.97.199.222
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400