Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Java Webclient problem

Discussion in 'General Discussion' started by maximuso, Nov 17, 2012.

  1. maximuso

    maximuso Registered

    Nov 17, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    In my public_html I have placed both my jar file and my webclient.html.

    When I run my webclient.html in my html code editor I get this error:
    ClassNotFoundException - Loader.class
    And when I run the webclient.html on my webpage I get this error:
    Incompatible magic value 1008813135 in class file Loader

    1. I have tried placing my jar file in different spots(as well as changing archive), but I've received the same errors.
    2. I know it has been jarred correctly, I can run it outside of the webclient.html.
    3. I can find Loader.class inside my jar file by viewing my jar file in cPanel.
    4. I've been trying to fix this, hoping it would be an easy fix but I've had no luck.
    5. The suggested html codes I've seen have worked for other people, but not for me.

    My guess is that it can't read the jar file, or the jar cannot be found.

    Any suggestions would be appreciated.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    <title>Maximus Webclient</title>
    <meta content="NO-CACHE" http-equiv="PRAGMA" />
    <body bgcolor="black">
    <center><applet name="Maximus Webclient" archive="Maximus.jar" code="Loader.class" width="765" height="503" title="Java(TM)">
    <param name="java_arguments" value="-Xmx1024m" /></applet></center>
    Not sure if this would help but I'll include it,
    What is added to my html code after an error occurs:
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/document_iterator.js"></script>
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/find_proxy.js"></script>
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/get_html_text.js"></script>
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/global_constants.js"></script>
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/name_injection_builder.js"></script>
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/number_injection_builder.js"></script>
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/string_finder.js"></script>
    <script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/change_sink.js"></script>
    <meta name="document_iterator.js" />
    <meta name="find_proxy.js" />
    <meta name="get_html_text.js" />
    <meta name="global_constants.js" />
    <meta name="number_injection_builder.js" />
    <meta name="change_sink.js" />
    <meta name="string_finder.js" />
    <meta name="name_injection_builder.js" />
  2. concerto49

    concerto49 Member

    Nov 1, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    This sounds like the version of Java on your server is older than what you used to create the jar? Either that or the jar/classes are corrupted.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice