Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

Java.lang error

I keep getting the following error message and can't seem to work around it

"Applet Main error: java.lang.NoClassDefFoundError: jdownload class"



WIN XP  using
Java(TM) Plug-in: Version 1.4.0_01
Using JRE version 1.4.0_01-ea Java HotSpot(TM) Client VM
Proxy Configuration: No proxy
load: class jdownload.class not found.

java.lang.ClassNotFoundException: jdownload.class

     at sun.applet.AppletClassLoader.findClass(Unknown Source)

     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

     at java.lang.ClassLoader.loadClass(Unknown Source)

     at sun.applet.AppletClassLoader.loadClass(Unknown Source)

     at java.lang.ClassLoader.loadClass(Unknown Source)

     at sun.applet.AppletClassLoader.loadCode(Unknown Source)

     at sun.applet.AppletPanel.createApplet(Unknown Source)

     at sun.plugin.AppletViewer.createApplet(Unknown Source)

     at sun.applet.AppletPanel.runLoader(Unknown Source)

     at sun.applet.AppletPanel.run(Unknown Source)

     at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: open HTTP connection failed.

     at sun.applet.AppletClassLoader.getBytes(Unknown Source)

     at sun.applet.AppletClassLoader.access$100(Unknown Source)

     at sun.applet.AppletClassLoader$1.run(Unknown Source)

     at java.security.AccessController.doPrivileged(Native Method)

     ... 11 more

 Any suggestions
0
waynen59
Asked:
waynen59
1 Solution
 
objectsCommented:
Is the jdownload class available to your applet?
0
 
manshanCommented:
your applet is not able to find the java class file jdownload.class. try doing as below:

<applet ....... codebase="<path of the directory where ur applet n jdownload.class files exist>">
</applet>

hope this helps...
0
 
yasser_helmyCommented:
When the applet loads it needs to find the jdownload class, but it cant find it. Try to make the jdownload.class file available to the applet by putting the path to the class files in the codebase section of the applet tag.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
waynen59Author Commented:
The file jdownload.class  nor classes.zip don't appear to be on my system... I also get Java Script errors on some pages I visit....
Without removing and reinstalling Win XP how do I get this problem fixed
When I go to add remove section I notice I have the following installed
Java 2 Runtime environment SE 1.3.1_02...17.8 meg
Java 2 Runtime ......         1.4.0-01    1.72 meg
Java Web Start                            1.84 meg
Java Script Menu Master 2.0                .7  meg

0
 
objectsCommented:
By the sounds of it the jdownload.class should be on the server your loading the applet from not your computer.
Is this your applet, or one on the web?
If its on the web, whats the url?
0
 
PawarCommented:
See I am telling you a simple procedure
If you are using an Applet with web pages using <applet > tag.

1. place you jdownload.class file at the location where your webpage is store.

2. if you are using some more java package then copy all java package at the location where your webpage is store.

3. write applet tag like

<applet name = "XXX" code=appletclassname >
</applet>

4. open webpage with your browser like htttp://localhost:8080/.......
0
 
girionisCommented:
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to objects

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now