Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 31st, 2005, 9:44 AM   #1
sayberman
Newbie
 
Join Date: Jul 2005
Posts: 2
Rep Power: 0 sayberman is on a distinguished road
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
sayberman is offline   Reply With Quote
Old Jul 31st, 2005, 10:18 AM   #2
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
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.
__________________
&quot;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.&quot; - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Aug 1st, 2005, 12:45 AM   #3
sayberman
Newbie
 
Join Date: Jul 2005
Posts: 2
Rep Power: 0 sayberman is on a distinguished road
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?
sayberman is offline   Reply With Quote
Old Aug 12th, 2005, 11:12 AM   #4
boz
Newbie
 
boz's Avatar
 
Join Date: May 2005
Location: Indiana
Posts: 6
Rep Power: 0 boz is on a distinguished road
Send a message via AIM to boz
Quote:
Originally Posted by sayberman
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?
This is just a wild stab but maybe there's a dependency that you're missing? Like multiple java files were comipiled to make the applet work and you don't have one of the resulting class files? I dunno, just a guess.

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??
boz is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:34 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC