Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: applet ignores archive

Reply
Thread Tools

Re: applet ignores archive

 
 
Tor Iver Wilhelmsen
Guest
Posts: n/a
 
      08-21-2003
(Marc) writes:

> <APPLET CODE = "MyApplet.class" ARCHIVE = "MyApplet.jar" WIDTH = 670
> HEIGHT = 350>


Are you sure the source doesn't have a package statement somewhere?
You need to add any package name before the class name.
 
Reply With Quote
 
 
 
 
Marc
Guest
Posts: n/a
 
      08-21-2003
Tor Iver Wilhelmsen <> wrote in message news:<>...
> (Marc) writes:
>
> > <APPLET CODE = "MyApplet.class" ARCHIVE = "MyApplet.jar" WIDTH = 670
> > HEIGHT = 350>

>
> Are you sure the source doesn't have a package statement somewhere?
> You need to add any package name before the class name.


I have a package name before the class name. Just didn't include it
for brevity's sake... the re-install of IE didn't do anything for me.

Marc
 
Reply With Quote
 
 
 
 
Marc
Guest
Posts: n/a
 
      08-22-2003
(Marc) wrote in message news:< om>...
> Tor Iver Wilhelmsen <> wrote in message news:<>...
> > (Marc) writes:
> >
> > > <APPLET CODE = "MyApplet.class" ARCHIVE = "MyApplet.jar" WIDTH = 670
> > > HEIGHT = 350>

> >
> > Are you sure the source doesn't have a package statement somewhere?
> > You need to add any package name before the class name.

>
> I have a package name before the class name. Just didn't include it
> for brevity's sake... the re-install of IE didn't do anything for me.
>
> Marc


It's working on my computer now but I don't like the solution much. I
poked around here and somebody wrote that if you have Java development
tools installed on your machine, this was more likely to happen. The
install edits your system classpath but why this screws with IE is
beyond me.

I finally edited the registry classpath variable under Java VM. That
is, I edited it out. Now the applet correctly looks at "ARCHIVE" in
the applet tag.

Marc
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing JAR file specified in APPLET tag's "archive" attribute Sajjad Lateef Java 3 06-19-2012 12:52 PM
How to access directory listing of archive jar from applet christopher@dailycrossword.com Java 6 03-05-2009 11:36 PM
applet codebase, archive and forName tekinico Java 7 10-28-2006 05:35 AM
<applet archive= tag Roedy Green Java 2 02-02-2006 07:00 AM
Applet "archive" attribute giving NoClassDefFoundError andrew@andrewsears.com Java 3 01-12-2006 10:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57