Re: Java not running under Linux

Поиск
Список
Период
Сортировка
От Zak McGregor
Тема Re: Java not running under Linux
Дата
Msg-id 20030828044024.59a4f95d.zak@mighty.co.za
обсуждение исходный текст
Ответ на Re: Java not running under Linux  (Fernando Nasser <fnasser@redhat.com>)
Список pgsql-jdbc
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/
========================================================================

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: Re: FATAL: Socket command type A unknown
Следующее
От: "Marcus Andree S. Magalhaes"
Дата:
Сообщение: Re: Java not running under Linux