🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: NoClassDefFoundError

#16126
From: Jeff Rafter
Date: Sat, 27 Mar 1999 00:00
37 lines
1333 bytes
Jason,

The browser doesn't know where to find your class.  Your HTML should specify
where to find the classes using the "CODEBASE" parameter.  If your classes
were in a directory called "myclasses" like such :

c:\myclasses\hello2\HelloApplet2.class

your HTML would look like:

<HTML>
<TITLE>
Hello
</TITLE>
<BODY>
Some Text...
<BR>
<APPLET
  CODEBASE = "c:\myclasses
  CODE     = "hello2.HelloApplet2.class"
  WIDTH    = 400
  HEIGHT   = 300
  HSPACE   = 0
  VSPACE   = 0
  ALIGN    = Middle
>
</APPLET>
</BODY>
</HTML>

The above basically says -- find the package (directory) "hello2" in the
directory myclasses.  It will find the HelloApplet2 in the subdirectory
"hello2".

Good Luck,
Jeff Rafter
Realsoft Development
Technical Details
Message-ID: <7dj39k$2tk7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36FC8887.E850C85@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,d1c999c3c160fcf4
X-Google-Attributes: gidf74b3,public
From: "Jeff Rafter" <jeffrafter@earthlink.net>
Subject: Re: NoClassDefFoundError
Date: 1999/03/27
Message-ID: <7dj39k$2tk7@forums.borland.com>
X-Deja-AN: 459743153
References: <36FC8887.E850C85@hotmail.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Organization: Realsoft Development
X-MSMail-Priority: Normal
Reply-To: "Jeff Rafter" <jeffrafter@earthlink.net>
Newsgroups: borland.public.jbuilder.java.language