Applet tag error
        Posted  
        
            by Yvan JANSSENS
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Yvan JANSSENS
        
        
        
        Published on 2010-06-09T11:29:59Z
        Indexed on 
            2010/06/09
            11:32 UTC
        
        
        Read the original article
        Hit count: 292
        
Hi,
I'm getting a FileNotFound error when I try to include my applet. It tries to include a .class file, while I provide a .jar file. Here's the java console output:
at java.lang.Thread.run(Thread.java:637)
Caused by: java.io.FileNotFoundException: 
/Users/yvanjanssens/NetBeansProjects/yBlackJack/yBlackJackApplet.class (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
And here's my Applet code:
<applet code="yBlackJackApplet" archive="yBlackJack.jar" width="100%" height="100%" >
</applet>
Thanks!
Yvan
© Stack Overflow or respective owner