![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jul 2005
Posts: 2
Rep Power: 0
![]() |
Working with applets offline
Hello,
I have downloaded a web page with its applet extension and put into my personal PC. Although I address my personal drive and a temp html folder, I am unable to start this applet and view it in IE. Please help how to run a java applets while offline in a non-network environment. What did I do wrong? (No parameters are driven by this applet!) See below html code which runs applet. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1254"> <META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD> <BODY bgColor=#ffffff> <APPLET code="howit.class" codebase=c:\\html\howit.class height="104%" width="100%" ></APPLET> </BODY></HTML> See also below Java Console message. java.lang.ClassNotFoundException: howit at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/applet/AppletPanel.securedClassLoad at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.run at java/lang/Thread.run |
|
|
|
|
|
#2 |
|
The Supreme Ruler
![]() Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6
![]() |
Play around with the class name. Make sure you have the name correctly, make sure the path is correct, perhaps try putting the class in the same folder as the webpage instead of using an absolute path. It simply isn't finding the class -- that seems to be the only problem.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jul 2005
Posts: 2
Rep Power: 0
![]() |
I have tried every possible way to make it work. Still does not see the applet class file.
Do you know what does "java.lang.ClassNotFoundException: howit" refere to? |
|
|
|
|
|
#4 | |
|
Newbie
|
Quote:
edit: another kind of wild stab, but did you check the permissions for the class file? Just thought I'd suggest that to eliminate any possiblity.
__________________
whaaa?? |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|