On Wed, 27 Aug 2003 22:22:58 -0400
Fernando Nasser <fnasser@redhat.com> wrote:
> wsmeyer@ibest.com.br wrote:> Hi,
> >
> > I'm having problem running java on Linux. The source code is compiled
> > ok, but when I try to run it with "java filename" the follow error
> > message appear:
> >
> > " Exception in thread main java.lang.NoClassDefFoundError "
Try chopping the .class off the filename bit. In other words if your class is in
the file MyClass.class, run it with "java MyClass" instead of "java
MyClass.class"
HTH
Ciao
Zak
--
========================================================================
http://www.carfolio.com/ Searchable database of 10 000+ car specs
Auctioning motoring-related items at eBay? http://www.carfolio.com/ebay/
========================================================================