class not found

Posted on 1998-05-25
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,, 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?
Question by:BoB
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

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


Author Comment

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?

Expert Comment

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.

Author Comment

ID: 1221456
good enough for me.  you can answer the question.

Accepted Solution

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hibernate example issues from command prompt 10 85
ejb stateless example 2 66
going to wrong jsp page 2 68
Find out all repos that a user is most active on Github 1 57
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

732 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