java applets don't display


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: java applets don't display

  1. #1
    Join Date
    Feb 2003
    Posts
    7

    Question java applets don't display-NOW THEY DO!

    Hi, as of sometime last week I have not been unable to view ANY java applets on or offline. I may have inadvertently deleted some files during some semi-routine maintenance. I assumed 1 or more files were either missing or corrupted. I downloaded Sun's JRE2 hoping it would replace or overwrite the files I need. No go. I re-installed microsoft's VM. Still no go. Java IS enabled in the browser and security settings. I have been to several forums trying to find an answer to this dilemma. One person suggested I might need to edit a registry file to correct the path or something, but didn't really explain how to do it. I am at a loss as to what else I can do besides re-installing windows. If anyone knows how to fix this or can offer any suggestions, I woulds really appreciate it.

  2. #2
    Join Date
    Sep 2002
    Posts
    124
    Hi, ArtisticVisions, and welcome.

    May I ask you for some more information ? It may then become more likely that a solution to your problem will be forthcoming...

    What, if any, error messages do you get when attempting to view applets? If you hold the mouse cursor over a failed applet there should be an error message in the footer bar of your internet browser.

    Have you installed the Java Software Devloper's Kit, or just the Sun JRE / Microsoft JVM ?

    Which version of Windows are you using?

    So far, what you have tried to do definitely makes sense. Your situation seems to be quite commonly encountered. However, the uninstallation and reinstallation of the Sun JRE would normally do the trick... unless you have installed the actual programming side of Java : in which case, uninstall & reinstall that as well.

    If you're using Win2K there may be extra problems re: classpath. Either way, please let us know the answers to the above questions.

    Regards,
    Joyous Monkey

  3. #3
    Join Date
    Feb 2003
    Posts
    7
    Hi Joyous Monkey. I'm happy to give you more information, and thanks for responding.

    I don't get any error messages at all. I'm running Windows 98 and IE 6.0.

    I think I installed (from Sun) the programming kit as I didn't know at the time that the JRE (I think) was available as a separate download.

    I don't need the whole development kit... so do you think if I uninstall that and just install the JRE that might do it?

    Any other common solutions to this common problem?

    Thanks

    Thomas

  4. #4
    Join Date
    Mar 2003
    Posts
    32
    My only advice would be to uninstall and reinstall the JDK/SDK and if that doen't do it, uninstall IE and reinstall it. If even that doesn't work, try getting a new browser and if it doesn't work... well, I don't know. Good luck.
    - Master Of Souls
    "Weeks of coding can save hours of planning."


  5. #5
    Join Date
    Feb 2003
    Posts
    7
    Thanks for your reply. I have already done everything you suggested. I've downloaded Netscape and java does work in that browser, but I don't like Netscape, it's too slow and some things don't display properly in the applets. Applets not only don't display in IE, but also not in programs.

    Thanks anyway.

  6. #6
    Join Date
    Apr 2003
    Posts
    10

    Unhappy Same problem

    I have the same problem. It's just with IE 6.0. When I run from another browser there is no problem. I don't like Netscape either.

    If I figure it out I'll let you know.
    Hutch

  7. #7
    Join Date
    Apr 2003
    Posts
    10

    From java.sun.com

    These are the errors form the console.

    Java(TM) Plug-in: Version 1.4.1_02
    Using JRE version 1.4.1_02 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\fzcs7w

    Proxy Configuration: Automatic Proxy Configuration
    URL: http://autoproxy4.delphiauto.net





    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
    java.net.UnknownHostException: java.sun.com

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at sun.net.NetworkClient.doConnect(Unknown Source)

    at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.<init>(Unknown Source)

    at sun.net.www.http.HttpClient.<init>(Unknown Source)

    at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)

    at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)

    at sun.plugin.net.protocol.http.HttpURLConnection.privBlock(Unknown Source)

    at sun.plugin.net.protocol.http.HttpURLConnection$PrivilegedBlockAction.run(Unknown Source)

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

    at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)

    at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)

    at sun.plugin.cache.CachedJarLoader.download(Unknown Source)

    at sun.plugin.cache.CachedJarLoader.load(Unknown Source)

    at sun.plugin.cache.JarCache.get(Unknown Source)

    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)

    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)

    at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)

    at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)

    at sun.misc.URLClassPath$3.run(Unknown Source)

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

    at sun.misc.URLClassPath.getLoader(Unknown Source)

    at sun.misc.URLClassPath.getLoader(Unknown Source)

    at sun.misc.URLClassPath.getResource(Unknown Source)

    at java.net.URLClassLoader$1.run(Unknown Source)

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

    at java.net.URLClassLoader.findClass(Unknown Source)

    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)

    load: class com.sun.getjava.GetJavaApplet not found.

    java.lang.ClassNotFoundException: com.sun.getjava.GetJavaApplet

    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.net.UnknownHostException: java.sun.com

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at sun.net.NetworkClient.doConnect(Unknown Source)

    at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.<init>(Unknown Source)

    at sun.net.www.http.HttpClient.<init>(Unknown Source)

    at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)

    at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)

    at sun.plugin.net.protocol.http.HttpURLConnection.privBlock(Unknown Source)

    at sun.plugin.net.protocol.http.HttpURLConnection$PrivilegedBlockAction.run(Unknown Source)

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

    at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)

    at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    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
    Hutch

  8. #8
    Join Date
    Feb 2003
    Posts
    7

    might not be the same prpblem...

    For me, it was working fine in IE 6 for a while. I tried going back to earlier versions without any success.
    Also, I never got any errors... applets simply don't display--just an empty box with the little icon in it.

    In a way, it taught me something. I made a menu for my website with java... now I've learned to do almost the same thing in dhtml, which is cool.

    After a couple months of NOT being able to solve this problem, I'm not really actively persuing it anymore. I'm too busy to spend all my time getting more frustrated over it.

  9. #9
    Join Date
    Feb 2003
    Posts
    7

    Thumbs up JAVA IS NOW WORKING!!!

    Coincidentally, I just had a windows update for the Microsoft VM, and after installing and rebooting, JAVA IS NOW WORKING IN IE AND MY PROGRAMS!

    HALLELUIA!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center