Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can not get my application working one my wesite.

843807Apr 24 2009 — edited Apr 24 2009
Ok i have got it working on my local computer but when i post it on the website it gives me errors.
My html code is

<html>
<head>

        <title>Jamie's Handy Apps</title>

</head>

<body>

<center><h1>Decimal To Binary Converter</h1><center>

<p> This application also works with fractions I.E. if you put the number 11.5 in it will give you 1011.1 and vise a versa.</p>

<APPLET CODE="Exm1" WIDTH=600 HEIGHT=300> 
</APPLET>


</body>
</html>
and the errors i am getting when i try to play it is:

load: class Exm1 not found.
java.lang.ClassNotFoundException: Exm1
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://www.angelfire.lycos.com/cgi-auth/Exm1.class
	at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	... 7 more
Exception: java.lang.ClassNotFoundException: Exm1
First of all i want to say i have already tried to change <APPLET CODE="Exm1" WIDTH=600 HEIGHT=300>
</APPLET> to <APPLET CODE="Exm1.class" WIDTH=600 HEIGHT=300>
</APPLET> and I get the exact same results.

And before you ask yea I uploaded Exm1.class to the web site which is why i am wondering why it says

Caused by: java.io.IOException: open HTTP connection failed:http://www.angelfire.lycos.com/cgi-auth/Exm1.class


Please if you think you can help me I would really appreciate it.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2009
Added on Apr 24 2009
2 comments
156 views