🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19787

Re: Why i can�t execute JAVA MYAPP???

#19787
From: Andrew Bennett
Date: Mon, 15 Dec 1997 00:00
37 lines
1639 bytes


M. Calomarde Gomez wrote:

> Hi :-)
>
> I make my project with some classes. But when i ejecute the init .class
> with "JAVA MYAPPLICATION.class" i see the next error:
>
> C:\JBuilder\myclasses\Trajines>c:\jbuilder\java\bin\java Trajines
> java.lang.NoClassDefFoundError: Trajines/Principal
>         at Trajines.Trajines.<init>(Trajines.java:10)
>         at Trajines.Trajines.main(Trajines.java:30)

Sounds like your code is in a package called Trajines, and the Java
VM can't locate it's members.

Is Trajines.class in the Trajines package?  Ie  Trajines.Trajines?

If so, you want to execute these from the parent directory.  Say
the code is in \jbuilder\myclasses\Trajines.

You'd cd into jbuilder\myclasses, and do the following:

java Trajines.Trajines

(might be a slash or a back-slash instead of the period)



Andrew
--
  Andrew Bennett            ->  abennett@borland.com
  JBuilder info             ->  http://www.borland.com/jbuilder/
  JBuilder newsgroups info  ->  http://www.borland.com/newsgroups/
**** Please don't post a reply AND send email.  Do one.  I'll see it. ****
Technical Details
Message-ID: <3495973F.30EAD8EF@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34924EB0.1DD125A5@ctv.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,56a482bb18788403
X-Google-Attributes: gidf74b3,public
From: Andrew Bennett <abennett@borland.com>
Subject: Re: Why i can�t execute JAVA MYAPP???
Date: 1997/12/15
Message-ID: <3495973F.30EAD8EF@borland.com>
X-Deja-AN: 298469283
Content-Transfer-Encoding: 7bit
References: <34924EB0.1DD125A5@ctv.es>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.language