[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

class not found

Posted on 1998-05-25
5
Medium Priority
?
244 Views
Last Modified: 2010-04-16
When I run the clock demo from my computer (win95) the example.html loads the clock applet properly.  If I copy clock2.class, clock2.java, and example.html to my server (sparc running apache 1.2.5) the applet doesn't run and I get a clock2 class not found error in the status bar.  Any ideas?
0
Comment
Question by:BoB
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:froderik
ID: 1221453
I suggest that you check the following.
- Did the case of the filename remain?
- Did you copy the class file in binary mode? (If using ftp.)
- Check the HTML file, does the applet tag have any absolute references to the location of the applet. (It shouldn't but you never know...)

Hope this helps

Fredrik
0
 

Author Comment

by:BoB
ID: 1221454
I was able to get the applet to work by removing the codebase= parameter of the applet tag.  Any ideas as to why this would work and if it's an acceptable solution?
0
 
LVL 1

Expert Comment

by:froderik
ID: 1221455
I think codebase should point to the URL where the applet is located. If the applet is in the same directory as the HTML source file it doesn't need to be specified.
0
 

Author Comment

by:BoB
ID: 1221456
good enough for me.  you can answer the question.
0
 
LVL 1

Accepted Solution

by:
froderik earned 200 total points
ID: 1221457
Ok, I'm glad it worked.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question