Article View: borland.public.jbuilder.java.language
Article #17482Re: Wrong class name inside class file
From: Richard Wilkman
Date: Mon, 02 Nov 1998 00:00
Date: Mon, 02 Nov 1998 00:00
49 lines
1845 bytes
1845 bytes
Dmitrii: Well, the error means that the fully qualified name for the class that is stored inside the .class file does not match the one you asked for. Off the top of my head, it's coming from your CODE argument. That would be images.Applet1.class (no slash) in 99% of the cases. What is your package statement for Applet1.class? -Rich Dmitrii Rzhevskii wrote: > > why my class file run with JBuilder IDE but can't run whith > NetscapeNavigator ? > "Applet images/Applet1can't start: error: java.lang.ClassFormatError: > Wrong class name inside class file" > html file : > > <HTML> > <HEAD><TITLE> > Applet1 > </TITLE></HEAD> > <BODY> > <APPLET > CODEBASE="." > CODE="images/Applet1.class" > NAME="Applet1" > WIDTH = 400 > HEIGHT = 300 > > > </APPLET> > </BODY> > </HTML> -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<363E3946.91E5323C@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<363E0816.137A2109@chem.msu.ru>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,288c8a97019eb147 X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: Wrong class name inside class file Date: 1998/11/02 Message-ID: <363E3946.91E5323C@inprise.com> X-Deja-AN: 407718734 Content-Transfer-Encoding: 7bit References: <363E0816.137A2109@chem.msu.ru> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language