- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi there,
I'm working in Sharepoint 2007 and I need to load a java applet... however when i brosw to it i get the following error:
java.lang.ClassNotFoundExc
at sun.applet.AppletClassLoad
at java.lang.ClassLoader.load
at sun.applet.AppletClassLoad
at java.lang.ClassLoader.load
at sun.applet.AppletClassLoad
at sun.applet.AppletPanel.cre
at sun.plugin.AppletViewer.cr
at sun.applet.AppletPanel.run
at sun.applet.AppletPanel.run
at java.lang.Thread.run(Unkno
I have the following code in my layout which is really a javascript dump of the Applet tag (so i can add querystring info):
<script language="javascript" type="text/javascript">
function getQueryVariable(variable)
var query = window.location.search.sub
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if (pair[0] == variable) {
return pair[1];
}
}
}
var str='';
str+='<applet codebase="fol/" archive="panoapplet.jar" code="panoapplet" width=400 height=300> ';
str+='<param name=file value="fol/'+getQueryVaria
str+='<param name=initialView value="0.000000, 180.000005, 50.000001" \/>';
str+='<param name="autospin" value="50" \/>';
str+='<\/applet>';
document.write(str);
</script>
PLEASE HELP. :o(
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: ebertkPosted on 2008-05-27 at 10:49:38ID: 21653986
I would check out the line for the applet, specifically:
<applet codebase="fol/" archive="panoapplet.jar" code="panoapplet" width=400 height=300>
The code attribute needs to be the class file for the applet with the .class extension. Also, the codebase doesn't need a "/" at the end. Try changing this to:
<applet codebase="fol" archive="panoapplet.jar" code="panoapplet.class" width=400 height=300>
If you still have the error, make sure the codebase attribute is pointing to the correct directory where the panoapplet.jar file is located. If the panoapplet.jar file is in the same directory as the HTML page that brings up the applet, you can remove the codebase attirbute. Right now the way it is written the browser expects the panoapplet.jar file to be located in the sub-directory "fol" immediately below the directory that contains the page the the browser is displaying.