Article View: es.comp.lenguajes.java
Article #29213Re: JNI someone could help me
From: Juan Gonzalo de Silva Medina
Date: Thu, 29 Jan 1998 00:00
Date: Thu, 29 Jan 1998 00:00
69 lines
2389 bytes
2389 bytes
Este es un mensaje multipartes en formato MIME.
--------------F2248C801AA05168E1EF8205
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Juan Pedro Barbancho Manchon escribi�:
> Dear sir,
> I use the JNI sun example, It compile and build a .exe, but no run well.
> Additionally, I try use the JRE demo. Need urgent help. Please, thank
> in avance.
>
> The code:
>
:-? he perdido la traducci�n...
> //////////////////////////PROG.JAVA////////////////////////////////
>
> public class Prog {
> public static void main(String[] args) {
> System.out.println("Hello World");
> }
> }
>
> The error:
>
> can't fing Prog class
>
> The . is in the classpath, Prog.class is in . directory.
>
�Estas ejecutando el programa en ese mismo directorio?
Has de tener en cuenta que, como no has creado ning�n "package", Java
buscar� la clase en el directorio actual de ejecuci�n.
De todas maneras prueba creando la clase en un "package" y poniendo en la
llamada el "package".
--------------F2248C801AA05168E1EF8205
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Tarjeta de Juan Gonzalo de Silva Medina
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Juan Gonzalo de Silva Medina
n: de Silva Medina;Juan Gonzalo
org: EL MONTE - Dpto. Desarrollo Inform�tico
adr: AV. Doctor Fedriani n� 23 p1 2C;;;Sevilla;Sevilla;41009;Espa�a
email;internet: gonzalo@caymasa.es
title: Analista Programador
tel;work: 34-5-4591436
tel;fax: 34-5-4591448
tel;home: 34-5-4906327
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
--------------F2248C801AA05168E1EF8205--
Technical Details
Message-ID:
<34CFBCF3.B918C2E5@caymasa.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34C61B25.DA1B712@uco.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1116f3,c70f1367b7fa1035 X-Google-Attributes: gid1116f3,public From: Juan Gonzalo de Silva Medina <gonzalo@caymasa.es> Subject: Re: JNI someone could help me Date: 1998/01/29 Message-ID: <34CFBCF3.B918C2E5@caymasa.es> X-Deja-AN: 320105534 References: <34C61B25.DA1B712@uco.es> Mime-Version: 1.0 To: ct2bamaj@uco.es Content-Type: multipart/mixed; boundary="------------F2248C801AA05168E1EF8205" Organization: EL MONTE Newsgroups: es.comp.lenguajes.java