Java - Exception in thread main

 
Vista:

Exception in thread main

Publicado por Juan Manuel Castañeda (50 intervenciones) el 18/06/2009 18:18:05
Eclipse me devuelve mesnaje cuando hago debug con una Debug Configuration para Lectura.NoCadena.
package Lectura;
import java.io.DataInputStream;
import java.io.IOException;

public class NoCadena extends DataInputStream{
static NoCadena nocadena=null;

private NoCadena(java.io.InputStream is){
super(is);
}
public static NoCadena crear(){

if(NoCadena.nocadena==null)NoCadena.nocadena=new NoCadena(System.in);
return nocadena;
}
public Object clone(){return this;}
public byte leerByte() throws IOException{

return this.readByte();

}
public boolean leerBoolean()throws IOException{
return this.readBoolean();
}
public double leerDouble()throws IOException {
return this.readDouble();}
public char leerCaracter()throws IOException{return super.readChar();}
public float leerFloat()throws IOException{return super.readFloat();}
public int leerInt()throws IOException{return this.readInt();}
public long leerLong() throws IOException{return super.readLong();}
public short leerShort() throws IOException{return super.readShort();}
}
¿Por qué?¿Cómo se soluciona?
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Exception in thread main

Publicado por imad (1 intervención) el 16/07/2009 13:36:53
solo tienes que ejecutar o poner com variable de entorno.

SET classPath=.;

Hecho
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar