afflictedd2
Registered
Hi everyone,
I'm able to compile from eclipse and run from it, but when I try to run the class file from command line I get this error:
$java ../flatfiles/BinParser
Exception in thread "main" java.lang.NoClassDefFoundError: ///flatfiles/BinParser
I've tried
Naix:flatfiles Naix$ export "CLASSPATH=."
Naix:flatfiles Naix$ echo $CLASSPATH
.
Naix:flatfiles Naix$ java ../flatfiles/BinParaser
Exception in thread "main" java.lang.NoClassDefFoundError: ///flatfiles/BinParser
no luck.. I don't really get how I need to set this CLASSPATH variable for it to work.
Ted
I'm able to compile from eclipse and run from it, but when I try to run the class file from command line I get this error:
$java ../flatfiles/BinParser
Exception in thread "main" java.lang.NoClassDefFoundError: ///flatfiles/BinParser
I've tried
Naix:flatfiles Naix$ export "CLASSPATH=."
Naix:flatfiles Naix$ echo $CLASSPATH
.
Naix:flatfiles Naix$ java ../flatfiles/BinParaser
Exception in thread "main" java.lang.NoClassDefFoundError: ///flatfiles/BinParser
no luck.. I don't really get how I need to set this CLASSPATH variable for it to work.
Ted