I am learning HTML and I am trying to put my applet in my HTML file. When I open it with firefox, it works perfectly, but when I try to open it with chrome or safari it fails. Chrome says:
load: class Main.class not found.
Here is the tag I am using:
<applet code="Main.class" width="500" height="500"></applet>
I have put the Main.class in the same folder as the HTML file.
I'm running a mac, but i tried it on another computer running windows 7 and it worked with chrome.
Help! Is my mac haunted?
I am running the java version 1.6.0_33 from apple inc