Java applet won't run: ClassFormatError: Unknown constant tag 115

Hi,
About two years ago I uploaded an applet to a server and it ran fine. Since then I've done minor tweaks to the applet and it works on my computer, but I recently uploaded it to a new server and now it gives me the following:
java.lang.ClassFormatError: Unknown constant tag 115 in class file chemlet
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.security.SecureClassLoader.defineClass(Unknown Source)
     at sun.applet.AppletClassLoader.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)
java.lang.ClassFormatError: Unknown constant tag 115 in class file chemlet
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.security.SecureClassLoader.defineClass(Unknown Source)
     at sun.applet.AppletClassLoader.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)
I've already checked that I uploaded everything in binary and that my .class files are intact on the server. In fact I uploaded my files and downloaded them back onto my computer and they run fine. Also I have another applet running smoothly on the same server (which also used to reside on the old server) and it's not having any problems. I have 9 .class files in total and all of them are uploaded. chemlet is the file where execution should start. Any ideas for what to do?
Thanks in advance.

Either there is some version problem in applet. or the classfile might have some constant which is not getting referenced properly.
might be in your chemlet file . use decompiler to open your class file and then check the line number 115 in your chemlet file to see what is the problem there.

Similar Messages

  • Java applets won't run on Safari???

    I have reinstalled Java twice, and it still won't run any Java applets. It just sits there with the cup logo and the arrow on either side. It works fine on Firefox but not Safari. Help?

    Hello
    I'm piggy backing on this thread because I too have had problems with Java and Safari
    Java runs fine for me in Firefox, however.
    I went to a federal website
    https://blrscr3.egs-seg.gc.ca/gol-ged/gov/browserdetection/BrowserCheck.html
    that uses java and received this message
    " Java applet unable to load
    To use this service, you must either install a recent version of the Sun JVM or enable "Scripting of Java applets" if it has been disabled."
    so i looked for an update and have downloaded and installed release 6, (at least, it said that it was installed, but have never been able to figure out where)
    when I check Java preferences, the choices are J2SE 1.4.2 or J2SE 5, and when I've switched to 1.4.2 I still have no luck.
    When i run firefox, i get the java console opening, but it doesn't open with safari, and I can't find the option for this to turn on in safari
    i have restarted both safari and my computer and no luck. I have repaired permissions and no changes have taken place.
    Any more suggestions?
    (thank you, by the way)

  • Installed JDK but Java applets won't run in browsers

    My system: Windows7 x64 (fresh install - so no previous JRE's or JDK's), Firefox 15.0.1 and IE9
    I downloaded this: jdk-7u7-windows-x64.exe
    From this page: [http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html]
    I installed the JDK as per instructions on this page: [http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html]
    I updated the PATH environment variable to include: C:\Program Files\Java\jdk1.7.0_07\bin
    I restarted the computer.
    I checked cmd for java -version, it reports: java version "1.7.0_07" java SE Runtime Environment (build 1.7.0_07-b11) etc...
    I tried to view applets in Firefox and IE and they both report that I have to download the Java plugin.
    IN Firefox I click "Install plugin" and it looks like it's installing, but then it fails. It then gives me an option to install it manually (which is a link to the Oracle JRE download page.
    I did not try that last option because I SHOULD NOT HAVE TO, Oracle's page clearly states [http://docs.oracle.com/javase/7/docs/webnotes/install/index.html] that the JDK INCLUDES the JRE.
    "... If you want to develop Java applications, download the Java Development Kit, or JDK. *The JDK includes the JRE, so you do not have to download both separately.*"
    Also, it the latest JDK is supposed to come with JavaFX development capabilities, but I don't see JavaFX stuff in any of the Java folders.

    Hi,
    You might want to look in your control panel for 'Java' icon. It should give you an option to enable java plugin into your browser. Let me know if you still face the issue.
    Thanks!

  • Java Applets do not run when UAC is enabled on Windows 7

    HI,
    I'm deploying Java 6.0_26-b03+ on Windows 7 and experiencing following problem:
    Java applets do not run as standard domain users in Internet Explorer 9 on Windows 7 when UAC is enabled (i.E. http://www.java.com/de/download/installed.jsp). When logged on as Administrator or start IE9 as Administrator java applets do run.
    If I diable UAC an log on as normal user then applets do run. Applets then still run if UAC is re-enabled again. It seems that UAC needs to be disabled for the Java Plug-In to register something in user context (assumption). If this registration happended Java applets do run also for standard Windows 7 users if UAC is enabled.
    Since we're planning a corporate Windows 7 rollout (>800PCs) we cannot do this manually on every computer. Ther must be any solution for this problem.
    Does anybody have the same problem and has already found a solution?
    This is the content of the error log file generated when a standard domain user tries to run http://www.java.com/de/download/installed.jsp
    +#+
    +# A fatal error has been detected by the Java Runtime Environment:+
    +#+
    +# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x776677b2, pid=1320, tid=2380+
    +#+
    +# JRE version: 6.0_26-b03+
    +# Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )+
    +# Problematic frame:+
    +# C [ntdll.dll+0x477b2]+
    +#+
    +# If you would like to submit a bug report, please visit:+
    +# http://java.sun.com/webapps/bugreport/crash.jsp+
    +# The crash happened outside the Java Virtual Machine in native code.+
    +# See problematic frame for where to report the bug.+
    +#+
    ---------------  T H R E A D  ---------------
    +Current thread (0x01da8c00):  JavaThread "main" [_thread_in_native, id=2380, stack(0x02420000,0x02620000)]+
    siginfo: ExceptionCode=0xc0000005, writing address 0x00000024
    Registers:
    EAX=0x00000024, EBX=0x33827b58, ECX=0x7c38b4e8, EDX=0x7efeff3d
    ESP=0x02616090, EBP=0x026160a4, ESI=0x00000024, EDI=0x00000020
    EIP=0x776677b2, EFLAGS=0x00250212
    Top of Stack: (sp=0x02616090)
    +0x02616090: 02616236 00000000 7c34214f 01da6bc8+
    +0x026160a0: 026160e4 026160ec 7c34f639 00000020+
    +0x026160b0: 7c36b73f 00000000 6d1db83c 02616236+
    +0x026160c0: 00000000 33827b58 7c38b548 026160b8+
    +0x026160d0: 0000000d 026160bc 02615b4c 026165e0+
    +0x026160e0: 7c34240d 7c382198 ffffffff 02616454+
    +0x026160f0: 6d1d3b45 6d1db83c 00000000 02616210+
    +0x02616100: 6d1db84c 01da8c00 33827b58 00000000+
    Instructions: (pc=0x776677b2)
    +0x77667792: 33 c0 5e 5d c2 04 00 90 90 90 90 90 90 90 8b ff+
    +0x776677a2: 55 8b ec 83 ec 0c 56 57 8b 7d 08 8d 77 04 8b c6+
    +0x776677b2: f0 0f ba 30 00 0f 83 eb e2 00 00 64 a1 18 00 00+
    +0x776677c2: 00 8b 48 24 89 4f 0c c7 47 08 01 00 00 00 5f 33+
    Register to memory mapping:
    EAX=0x00000024 is an unknown value
    EBX=0x33827b58 is an oop
    +{method}+
    +- klass: {other class}+
    ECX=0x7c38b4e8 is an unknown value
    EDX=0x7efeff3d is an unknown value
    ESP=0x02616090 is pointing into the stack for thread: 0x01da8c00
    EBP=0x026160a4 is pointing into the stack for thread: 0x01da8c00
    ESI=0x00000024 is an unknown value
    EDI=0x00000020 is an unknown value
    Stack: [0x02420000,0x02620000],  sp=0x02616090,  free space=2008k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    +C  [ntdll.dll+0x477b2] RtlEnterCriticalSection+0x12+
    +C  [MSVCR71.dll+0xf639] _crtGetLocaleInfoW+0x2b1+
    +C  [deploy.dll+0x3b45] Java_com_sun_deploy_config_WinConfig_installShortcut+0x235+
    j  com.sun.deploy.config.Config.versionUpdateCheck()V392+
    j  com.sun.deploy.config.Config.initialize()Z256+
    j  com.sun.deploy.config.Config.<clinit>()V1933+
    v  ~StubRoutines::call_stub
    +V  [jvm.dll+0xfae4b]+
    +V  [jvm.dll+0x18c531]+
    +V  [jvm.dll+0xfaecd]+
    +V  [jvm.dll+0x7deb7]+
    +V  [jvm.dll+0x7ed1e]+
    +V  [jvm.dll+0x7f009]+
    +V  [jvm.dll+0x7f126]+
    +V  [jvm.dll+0x4d719]+
    +V  [jvm.dll+0x4de7f]+
    +V  [jvm.dll+0x4e050]+
    +V  [jvm.dll+0x4ac51]+
    j  sun.plugin2.main.server.JVMManager.processJREInfo()V32+
    j  sun.plugin2.main.server.JVMManager.<init>()V86+
    j  sun.plugin2.main.server.JVMManager.<clinit>()V72+
    v  ~StubRoutines::call_stub
    +V  [jvm.dll+0xfae4b]+
    +V  [jvm.dll+0x18c531]+
    +V  [jvm.dll+0xfaecd]+
    +V  [jvm.dll+0x7deb7]+
    +V  [jvm.dll+0x7ed1e]+
    +V  [jvm.dll+0x7f009]+
    +V  [jvm.dll+0x7f126]+
    +V  [jvm.dll+0x4d719]+
    +V  [jvm.dll+0x4de7f]+
    +V  [jvm.dll+0x4e050]+
    +V  [jvm.dll+0x4ac51]+
    j  sun.plugin2.main.server.IExplorerPlugin.<clinit>()V41+
    v  ~StubRoutines::call_stub
    +V  [jvm.dll+0xfae4b]+
    +V  [jvm.dll+0x18c531]+
    +V  [jvm.dll+0xfaecd]+
    +V  [jvm.dll+0x7deb7]+
    +V  [jvm.dll+0x7ed1e]+
    +V  [jvm.dll+0x7f009]+
    +V  [jvm.dll+0x7f126]+
    +V  [jvm.dll+0xb2ae9]+
    +V  [jvm.dll+0x94be8]+
    +C  [jp2iexp.dll+0x25b6] Java_sun_plugin2_main_server_WindowsHelper_uninstallHook+0xeaa+
    +C  [jp2iexp.dll+0x3b6b] Java_sun_plugin2_main_server_IExplorerPlugin_fillInExceptionInfo0+0x7ee+
    +C  [jp2iexp.dll+0xd2a4] DllGetClassObject+0x57c6+
    +C  [MSHTML.dll+0x156e41] RunHTMLApplication+0x1a9a+
    +C  [MSHTML.dll+0x156c95] RunHTMLApplication+0x18ee+
    +C  [MSHTML.dll+0x156cc3] RunHTMLApplication+0x191c+
    +C  [MSHTML.dll+0x156948] RunHTMLApplication+0x15a1+
    +C  [MSHTML.dll+0x15675f] RunHTMLApplication+0x13b8+
    +C  [MSHTML.dll+0x1563bf] RunHTMLApplication+0x1018+
    +C  [MSHTML.dll+0x15602e] RunHTMLApplication+0xc87+
    +C  [MSHTML.dll+0x99a35] MatchExactGetIDsOfNames+0x5eed7+
    +C  [MSHTML.dll+0x262624] CTravelLog_CreateInstance+0x1edcf+
    +C  [MSHTML.dll+0x29dc6f] DllGetClassObject+0x23eb1+
    +C  [MSHTML.dll+0x267e1c] CTravelLog_CreateInstance+0x245c7+
    +C  [MSHTML.dll+0x267d48] CTravelLog_CreateInstance+0x244f3+
    +C  [MSHTML.dll+0x267cad] CTravelLog_CreateInstance+0x24458+
    +C  [MSHTML.dll+0x267c0d] CTravelLog_CreateInstance+0x243b8+
    +C  [MSHTML.dll+0x24b83d] CTravelLog_CreateInstance+0x7fe8+
    +C  [MSHTML.dll+0x3ea169] DllGetClassObject+0x1703ab+
    +C  [MSHTML.dll+0x4095e0] DllGetClassObject+0x18f822+
    +C  [USER32.dll+0x1c4e7] gapfnScSendMessage+0x1cf+
    +C  [USER32.dll+0x1c5e7] gapfnScSendMessage+0x2cf+
    +C  [USER32.dll+0x1cc19] gapfnScSendMessage+0x901+
    +C  [USER32.dll+0x1cc70] DispatchMessageW+0xf+
    +C  [IEFRAME.dll+0xf1b83] Ordinal234+0x6520+
    +C  [IEFRAME.dll+0x111ac6] Ordinal224+0x17ff9+
    +C  [iertutil.dll+0x140150] Ordinal59+0x8b+
    +C  [IEFRAME.dll+0xffe03] Ordinal224+0x6336+
    +C  [kernel32.dll+0x53c45] BaseThreadInitThunk+0x12+
    +C  [ntdll.dll+0x637f5] RtlInitializeExceptionChain+0xef+
    +C  [ntdll.dll+0x637c8] RtlInitializeExceptionChain+0xc2+
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  com.sun.deploy.config.WinConfig.getBrowserPath()Ljava/lang/String;0+
    j  com.sun.deploy.config.Config.versionUpdateCheck()V392+
    j  com.sun.deploy.config.Config.initialize()Z256+
    j  com.sun.deploy.config.Config.<clinit>()V1933+
    v  ~StubRoutines::call_stub
    j  sun.plugin2.main.server.JVMManager.processJREInfo()V32+
    j  sun.plugin2.main.server.JVMManager.<init>()V86+
    j  sun.plugin2.main.server.JVMManager.<clinit>()V72+
    v  ~StubRoutines::call_stub
    j  sun.plugin2.main.server.IExplorerPlugin.<clinit>()V41+
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
    +0x03226400 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=1796, stack(0x0a8c0000,0x0a9c0000)]+
    +0x031e2c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2144, stack(0x0a7b0000,0x0a8b0000)]+
    +0x031d3800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2036, stack(0x050d0000,0x051d0000)]+
    +0x031d2800 JavaThread "Attach Listener" daemon [_thread_blocked, id=1268, stack(0x0a5b0000,0x0a6b0000)]+
    +0x031d0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1120, stack(0x0a4b0000,0x0a5b0000)]+
    +0x031ca000 JavaThread "Finalizer" daemon [_thread_blocked, id=1140, stack(0x09fc0000,0x0a0c0000)]+
    +0x031c8c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2500, stack(0x0a380000,0x0a480000)]+
    +=>0x01da8c00 JavaThread "main" [_thread_in_native, id=2380, stack(0x02420000,0x02620000)]+
    Other Threads:
    +0x0318c800 VMThread [stack: 0x0a1c0000,0x0a2c0000] [id=2672]+
    +0x031f2000 WatcherThread [stack: 0x0a9c0000,0x0aac0000] [id=2712]+
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 4928K, used 281K [0x317e0000, 0x31d30000, 0x32280000)
    eden space 4416K,   6% used [0x317e0000, 0x31826480, 0x31c30000)
    from space 512K,   0% used [0x31c30000, 0x31c30000, 0x31cb0000)
    to   space 512K,   0% used [0x31cb0000, 0x31cb0000, 0x31d30000)
    tenured generation   total 10944K, used 0K [0x32280000, 0x32d30000, 0x337e0000)
    the space 10944K,   0% used [0x32280000, 0x32280000, 0x32280200, 0x32d30000)
    compacting perm gen  total 12288K, used 371K [0x337e0000, 0x343e0000, 0x377e0000)
    the space 12288K,   3% used [0x337e0000, 0x3383cc08, 0x3383ce00, 0x343e0000)
    ro space 10240K,  51% used [0x377e0000, 0x37d0dff8, 0x37d0e000, 0x381e0000)
    rw space 12288K,  55% used [0x381e0000, 0x3887c208, 0x3887c400, 0x38de0000)
    Code Cache  [0x0c910000, 0x0c980000, 0x0e910000)
    total_blobs=147 nmethods=5 adapters=79 free_code_cache=33098880 largest_free_block=0
    Dynamic libraries:
    +0x00a40000 - 0x00af8000      C:\Program Files\Internet Explorer\iexplore.exe+
    +0x77620000 - 0x7775c000      C:\Windows\SYSTEM32\ntdll.dll+
    +0x75f50000 - 0x76024000      C:\Windows\system32\kernel32.dll+
    +0x75a70000 - 0x75aba000      C:\Windows\system32\KERNELBASE.dll+
    +0x777a0000 - 0x77840000      C:\Windows\system32\ADVAPI32.dll+
    +0x75d60000 - 0x75e0c000      C:\Windows\system32\msvcrt.dll+
    +0x75ac0000 - 0x75ad9000      C:\Windows\SYSTEM32\sechost.dll+
    +0x764a0000 - 0x76541000      C:\Windows\system32\RPCRT4.dll+
    +0x77250000 - 0x77319000      C:\Windows\system32\USER32.dll+
    +0x76450000 - 0x7649e000      C:\Windows\system32\GDI32.dll+
    +0x77840000 - 0x7784a000      C:\Windows\system32\LPK.dll+
    +0x76550000 - 0x765ed000      C:\Windows\system32\USP10.dll+
    +0x75ee0000 - 0x75f37000      C:\Windows\system32\SHLWAPI.dll+
    +0x765f0000 - 0x7723a000      C:\Windows\system32\SHELL32.dll+
    +0x774c0000 - 0x7761c000      C:\Windows\system32\ole32.dll+
    +0x75c20000 - 0x75d30000      C:\Windows\system32\urlmon.dll+
    +0x76080000 - 0x7610f000      C:\Windows\system32\OLEAUT32.dll+
    +0x76110000 - 0x762c6000      C:\Windows\system32\iertutil.dll+
    +0x762d0000 - 0x763ea000      C:\Windows\system32\WININET.dll+
    +0x75f40000 - 0x75f43000      C:\Windows\system32\Normaliz.dll+
    +0x75d40000 - 0x75d5f000      C:\Windows\system32\IMM32.DLL+
    +0x75e10000 - 0x75edc000      C:\Windows\system32\MSCTF.dll+
    +0x66850000 - 0x67195000      C:\Windows\system32\IEFRAME.dll+
    +0x77240000 - 0x77245000      C:\Windows\system32\PSAPI.DLL+
    +0x73850000 - 0x7388c000      C:\Windows\system32\OLEACC.dll+
    +0x743d0000 - 0x7456e000      C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll+
    +0x75b70000 - 0x75beb000      C:\Windows\system32\comdlg32.dll+
    +0x73600000 - 0x73631000      C:\Program Files\Internet Explorer\IEShims.dll+
    +0x75740000 - 0x7574c000      C:\Windows\system32\CRYPTBASE.dll+
    +0x75590000 - 0x75598000      C:\Windows\system32\Secur32.dll+
    +0x756d0000 - 0x756eb000      C:\Windows\system32\SSPICLI.DLL+
    +0x757c0000 - 0x757cb000      C:\Windows\system32\profapi.dll+
    +0x77760000 - 0x77795000      C:\Windows\system32\WS2_32.dll+
    +0x75d30000 - 0x75d36000      C:\Windows\system32\NSI.dll+
    +0x750a0000 - 0x750e4000      C:\Windows\system32\dnsapi.DLL+
    +0x72fa0000 - 0x72fbc000      C:\Windows\system32\iphlpapi.DLL+
    +0x72f90000 - 0x72f97000      C:\Windows\system32\WINNSI.DLL+
    +0x757b0000 - 0x757be000      C:\Windows\system32\RpcRtRemote.dll+
    +0x63ef0000 - 0x64aa8000      C:\Windows\system32\MSHTML.dll+
    +0x74cb0000 - 0x74cb9000      C:\Windows\system32\VERSION.dll+
    +0x6f5f0000 - 0x6f6aa000      C:\Windows\system32\d2d1.dll+
    +0x6c8a0000 - 0x6c9aa000      C:\Windows\system32\DWrite.dll+
    +0x6d3c0000 - 0x6d443000      C:\Windows\system32\dxgi.dll+
    +0x739d0000 - 0x739e3000      C:\Windows\system32\dwmapi.dll+
    +0x75300000 - 0x75316000      C:\Windows\system32\CRYPTSP.dll+
    +0x758d0000 - 0x758fd000      C:\Windows\system32\WINTRUST.dll+
    +0x75950000 - 0x75a6d000      C:\Windows\system32\CRYPT32.dll+
    +0x75830000 - 0x7583c000      C:\Windows\system32\MSASN1.dll+
    +0x74b70000 - 0x74b91000      C:\Windows\system32\ntmarta.dll+
    +0x76030000 - 0x76075000      C:\Windows\system32\WLDAP32.dll+
    +0x75000000 - 0x7503b000      C:\Windows\system32\rsaenh.dll+
    +0x75ae0000 - 0x75b63000      C:\Windows\system32\CLBCatQ.DLL+
    +0x69240000 - 0x69272000      C:\Program Files\Internet Explorer\ieproxy.dll+
    +0x756f0000 - 0x7573c000      C:\Windows\system32\apphelp.dll+
    +0x74130000 - 0x74263000      C:\Windows\System32\msxml3.dll+
    +0x75750000 - 0x757af000      C:\Windows\system32\SXS.DLL+
    +0x73d90000 - 0x73d9b000      C:\Windows\system32\msimtf.dll+
    +0x6d390000 - 0x6d3bb000      C:\Windows\system32\msls31.dll+
    +0x77320000 - 0x774bd000      C:\Windows\system32\setupapi.dll+
    +0x75920000 - 0x75947000      C:\Windows\system32\CFGMGR32.dll+
    +0x75900000 - 0x75912000      C:\Windows\system32\DEVOBJ.dll+
    +0x73570000 - 0x7359c000      C:\Windows\system32\d3d10_1.dll+
    +0x734b0000 - 0x734ea000      C:\Windows\system32\d3d10_1core.dll+
    +0x6c770000 - 0x6c89c000      C:\Windows\system32\D3D10Warp.dll+
    +0x69760000 - 0x6978e000      C:\Windows\system32\MLANG.dll+
    +0x74970000 - 0x74a65000      C:\Windows\system32\PROPSYS.dll+
    +0x6ab00000 - 0x6ac02000      C:\Windows\system32\d3d10.dll+
    +0x73520000 - 0x73553000      C:\Windows\system32\d3d10core.dll+
    +0x73d40000 - 0x73d80000      C:\Windows\system32\UxTheme.dll+
    +0x73180000 - 0x731d2000      C:\Windows\system32\RASAPI32.dll+
    +0x73160000 - 0x73175000      C:\Windows\system32\rasman.dll+
    +0x73150000 - 0x7315d000      C:\Windows\system32\rtutils.dll+
    +0x6f6b0000 - 0x6f6b6000      C:\Windows\system32\sensapi.dll+
    +0x75190000 - 0x751cc000      C:\Windows\system32\mswsock.dll+
    +0x74d40000 - 0x74d45000      C:\Windows\System32\wshtcpip.dll+
    +0x747f0000 - 0x74815000      C:\Windows\system32\peerdist.dll+
    +0x74e00000 - 0x74e17000      C:\Windows\system32\USERENV.dll+
    +0x753f0000 - 0x7540b000      C:\Windows\system32\AUTHZ.dll+
    +0x747e0000 - 0x747f0000      C:\Windows\system32\NLAapi.dll+
    +0x72330000 - 0x72336000      C:\Windows\system32\rasadhlp.dll+
    +0x75180000 - 0x75186000      C:\Windows\System32\wship6.dll+
    +0x72b90000 - 0x72bc8000      C:\Windows\System32\fwpuclnt.dll+
    +0x695a0000 - 0x6975b000      C:\Windows\System32\jscript9.dll+
    +0x72de0000 - 0x72e1a000      C:\Windows\System32\Dxtrans.dll+
    +0x74790000 - 0x747a4000      C:\Windows\System32\ATL.DLL+
    +0x74330000 - 0x7433a000      C:\Windows\system32\ddrawex.dll+
    +0x694b0000 - 0x69597000      C:\Windows\system32\DDRAW.dll+
    +0x742d0000 - 0x742d6000      C:\Windows\system32\DCIMAN32.dll+
    +0x6c710000 - 0x6c769000      C:\Windows\System32\Dxtmsft.dll+
    +0x73a00000 - 0x73afb000      C:\Windows\system32\windowscodecs.dll+
    +0x6cf70000 - 0x6cfa2000      C:\Windows\system32\WINMM.dll+
    +0x739a0000 - 0x739cf000      C:\Windows\system32\XmlLite.dll+
    +0x74310000 - 0x74317000      C:\Windows\system32\msiltcfg.dll+
    +0x6c410000 - 0x6c650000      C:\Windows\system32\msi.dll+
    +0x6ac70000 - 0x6acb7000      C:\Windows\system32\Adobe\Director\SwDir.dll+
    +0x6c6d0000 - 0x6c703000      C:\Windows\system32\windowscodecsext.dll+
    +0x69790000 - 0x69809000      C:\Windows\system32\mscms.dll+
    +0x6ac30000 - 0x6ac68000      C:\Windows\system32\icm32.dll+
    +0x69410000 - 0x694ad000      C:\Windows\system32\Adobe\Shockwave 11\Control.dll+
    +0x6e810000 - 0x6e861000      C:\Windows\system32\winspool.drv+
    +0x69390000 - 0x69402000      C:\Windows\system32\DSOUND.dll+
    +0x74ac0000 - 0x74ae5000      C:\Windows\system32\POWRPROF.dll+
    +0x74a70000 - 0x74aa9000      C:\Windows\System32\MMDevApi.dll+
    +0x73960000 - 0x73996000      C:\Windows\system32\AUDIOSES.DLL+
    +0x736e0000 - 0x736ec000      C:\Windows\system32\mssprxy.dll+
    +0x69320000 - 0x6938a000      C:\Windows\system32\vbscript.dll+
    +0x653b0000 - 0x659de000      C:\Windows\system32\Macromed\Flash\Flash10t.ocx+
    +0x74f70000 - 0x74f78000      C:\Windows\system32\credssp.dll+
    +0x74f20000 - 0x74f5a000      C:\Windows\system32\schannel.DLL+
    +0x67430000 - 0x674f8000      C:\Windows\system32\OPENGL32.DLL+
    +0x68ce0000 - 0x68d02000      C:\Windows\system32\GLU32.dll+
    +0x10000000 - 0x10dc0000      C:\Windows\system32\ig4icd32.dll+
    +0x68c70000 - 0x68cd4000      C:\Windows\system32\D3DIM.DLL+
    +0x67360000 - 0x6742c000      C:\Windows\system32\D3DIM700.DLL+
    +0x01d40000 - 0x01d5f000      C:\Program Files\Java\jre6\bin\jp2iexp.dll+
    +0x7c340000 - 0x7c396000      C:\Program Files\Java\jre6\bin\MSVCR71.dll+
    +0x72d30000 - 0x72d37000      C:\Windows\system32\wsock32.dll+
    +0x71b10000 - 0x71b20000      C:\Windows\system32\napinsp.dll+
    +0x71af0000 - 0x71b02000      C:\Windows\system32\pnrpnsp.dll+
    +0x720d0000 - 0x720d8000      C:\Windows\System32\winrnr.dll+
    +0x71ae0000 - 0x71aed000      C:\Windows\system32\wshbth.dll+
    +0x6f8f0000 - 0x6f974000      C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll+
    +0x6d7f0000 - 0x6da9f000      C:\PROGRA~1\Java\jre6\bin\client\jvm.dll+
    +0x6d7a0000 - 0x6d7ac000      C:\PROGRA~1\Java\jre6\bin\verify.dll+
    +0x6d320000 - 0x6d33f000      C:\PROGRA~1\Java\jre6\bin\java.dll+
    +0x6d7e0000 - 0x6d7ef000      C:\PROGRA~1\Java\jre6\bin\zip.dll+
    +0x01dc0000 - 0x01dc6000      C:\Program Files\Java\jre6\bin\jp2native.dll+
    +0x6d1d0000 - 0x6d1e3000      C:\Program Files\Java\jre6\bin\deploy.dll+
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\jre6\lib\deploy.jar;C:\PROGRA~1\Java\jre6\lib\javaws.jar;C:\PROGRA~1\Java\jre6\lib\plugin.jar -Xmx32m -Djava.awt.headless=true -Dkernel.background.download=false -Dkernel.download.dialog=false -XX:MaxDirectMemorySize=64m
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=C:\Program Files\Internet Explorer;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\Empirum
    USERNAME=%username%
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows 7 Build 7601 Service Pack 1
    CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
    Memory: 4k page, physical 3063864k(2285416k free), swap 6125972k(5328168k free)
    vm_info: Java HotSpot(TM) Client VM (20.1-b02) for windows-x86 JRE (1.6.0_26-b03), built on May  4 2011 00:50:59 by "java_re" with MS VC+ 7.1 (VS2003)+
    time: Thu Jun 30 17:20:35 2011
    elapsed time: 0 seconds

    user11262844 wrote:
    Since we're planning a corporate Windows 7 rollout (>800PCs) we cannot do this manually on every computer. Ther must be any solution for this problem.If you're doing a corporate rollout of that size then surely you're just making an image of the desired configuration and just duplicating it onto the 800 PCs? In which case you would just configure IE appropriately as part of the image.
    Or alternatively you are manually configuring each of the 800 PCs, in which case this would be just one more thing in the checklist.

  • File Uploader Java Applet cannot be run

    I have a website that I need to upload PDFs to, but since ugrading to Lion, I cannot do it any more.  I have downloaded the separte Java app, but it still does not work.
    This is the error message I get:
    File Uploader Java Applet cannot be run. Make sure that Java is installed on your PC and Java applets are permitted in browser settings. Use this link to download and install appropriate version of Java:

    Thank you etresoft - that did not solve the problem.  However, I did fix it by changing something in Java Preferences (which is located in the Utilities Folder).
    I first deleted the cache files as you suggested in the Network tab.  Then I quit and restarted Firefox.  I still got the same error message when I tried to upload.
    Then, I went back into Java Preferences and checked the box, "Enable Appplet Plug-in and Webstart Applications" located in the General Tab.  I then quit and restarted Firefox.  Now I am able to upload documents as I could before Lion.
    Thank you!!

  • Class Not Found Exception - applet won't run anywhere outside of IDE

    I have an applet that runs perfectly in the netbeans IDE, but won't run from command prompt (I'm using windows) or from a browser. I've been banging my head against the wall for a few days on this one. Here's the HTML I'm using:
    <applet width="400" height="525" code="musicapplet.class" archive="crypticgraffiti.jar">
    <param name="bgcolor" value="ffffff"> <param name="fontcolor" value="000000">
    </param> </param> Your browser is not Java enabled. </applet>
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    When I attempt to run from command prompt, I get:
    "Error: Could not find or load main class crypticgraffiti.MusicApplet"
    When I attempt to load via html:
    "basic: load: class musicapplet.class not found.
    load: class musicapplet.class not found.
    java.lang.ClassNotFoundException: musicapplet.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: musicapplet.class
    security: Accessing keys and certificate in Mozilla user profile: null"
    I have tried every possible variation for the 'code' element of the applet tag (package.mainclass.class, mainclass, mainclass.class, etc). I have also tried compiling with JDK 1.6 and this didn't change anything. I've tried clearing out the cache of temporary files using the java control panel settings, and have verified that my browser can run other applets using JRE 6 and 7.
    I've tried some different ways of distributing the applet, also: putting all the class files in the folder with the html file, putting the classes in a source folder in the same folder as the html file, and finally putting a jar in the same folder as the html file (which really seems the simplest).
    Any help at all would be most appreciated! This applet is a very cool and original music creating app that draws heavily on the JFugue API. It's a shame that I can't get it online for people to play with!

    Cryptic Graffiti wrote:
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    Please note that class names are case sensitive so "MusicApplet" is not same as "Musicapplet" or "musicapplet". Your applet tag should have fully qualified class name (without quotes) and should look like this:
    <applet width=400 height=525 code=musicapplet.MusicApplet archive="crypticgraffiti.jar">
    </applet>
    The JAR should be in the same directory as your HTML file. While launching from command line, you can also check if your JAR file is getting included in classpath.
    Thanks,
    Nitin

  • Java Applet Won't Initialize

    This is a modified version of a tutorial I've been working with. Code for Main.java:
    import javax.swing.*;
    public class Main {       
    * @param args the command line arguments
    public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    JFrame f = new JFrame("Swing Paint Demo");
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setSize(300,300);
    f.setVisible(true);
    Problem is that when I try to load the applet into an html file:
    <html>
    <APPLET code="Main.class"></APPLET>
    </html>
    It doesn't load.
    The file compiles and executes as a stand alone .jar, but when I try to run it as an applet it won't work.
    I know I'm probably missing an easy step. I have already checked my IE7 settings and java is enabled. I have no problem with any other java applets, just the ones I make. haha. Thank you ahead of time.

    I did some research, and got a new tutorial because the old one was inappropriate like you pointed out previously. This one I copy pasted into my editor, it compiled fine. I run it through my browser and it doesn't work still. Same issue, coincidentally, what do you make of it?import javax.swing.JApplet;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    //Since we're adding a Swing component, we now need to
    //extend JApplet. We need to be careful to access
    //components only on the event-dispatching thread.
    public class Main extends JApplet {
        JTextField field;
        public void init() {
            //Execute a job on the event-dispatching thread:
            //creating this applet's GUI.
            try {
                SwingUtilities.invokeAndWait(new Runnable() {
                    public void run() {
                        createGUI();
            } catch (Exception e) {
                System.err.println("createGUI didn't successfully complete");
            addItem(false, "initializing... ");
        private void createGUI() {       
            //Create the text field and make it uneditable.
            field = new JTextField();
            field.setEditable(false);
            //Set the layout manager so that the text field will be
            //as wide as possible.
            setLayout(new java.awt.GridLayout(1,0));
            //Add the text field to the applet.
            add(field);
        public void start() {
            addItem(false, "starting... ");
        public void stop() {
            addItem(false, "stopping... ");
        public void destroy() {
            addItem(false, "preparing for unloading...");
            cleanUp();
        private void cleanUp() {
            //Execute a job on the event-dispatching thread:
            //taking the text field out of this applet.
            try {
                SwingUtilities.invokeAndWait(new Runnable() {
                    public void run() {
                        remove(field);
            } catch (Exception e) {
                System.err.println("cleanUp didn't successfully complete");
            field = null;
        private void addItem(boolean alreadyInEDT, String newWord) {
            if (alreadyInEDT) {
                addItem(newWord);
            } else {
                final String word = newWord;
                //Execute a job on the event-dispatching thread:
                //invoking addItem(newWord).
                try {
                    SwingUtilities.invokeAndWait(new Runnable() {
                        public void run() {
                            addItem(word);
                } catch (Exception e) {
                    System.err.println("addItem didn't successfully complete");
        //Invoke this method ONLY from the event-dispatching thread.
        private void addItem(String newWord) {
            String t = field.getText();
            System.out.println(newWord);
            field.setText(t + newWord);
    }

  • Java applet won't load on browser

    God, I've never been this frustrated with Java before.
    Ok, I created an applet in my eclipse IDE and ran it. It works. I decided to create a HTML file so that the applet would display on my firefox browser (my browser has no problem displaying java applets. All settings are fine).
    This is my HTML code:
    <html>
    <title>Site Selector</title>
    <body>
       <applet code = "SiteTesting.class" width = "300" height = "75">
       </applet>
    </body>
    </html>Now, my eclipse IDE creates a "src" or source folder and a bin folder. The bin folder is where the class files are kept. The HTML file was in the src folder. When I ran it, I got this:
    load: class SiteTesting.class not found.
    java.lang.ClassNotFoundException: SiteTesting.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: F:\Workspace\RefreshalCourse\src\networking\SiteTesting\class.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 9 more
    Exception: java.lang.ClassNotFoundException: SiteTesting.classMakes sense, considering the class file isn't in the src folder. So I copied the class files into the src folder, ran the HTML file, and I got this:
    java.lang.NoClassDefFoundError: SiteTesting (wrong name: networking/SiteTesting)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: SiteTesting (wrong name: networking/SiteTesting)Huh. I took the html file and placed it in the bin folder where the class file was and I ran it and got the exact same error message above.
    I'm obviously doing something wrong. So, any help in fixing this will be most appreciated. Cheers

    Your java file starts with:
    package networking;Right?
    If so, the fully qualified name name of your class is networking.SiteTesting.
    Use this in the applet tag:
    <applet code = "networking.SiteTesting" width = "300" height = "75">Suppose you have your html file in the directory zzz.
    Put SiteTesting.class in zzz/networking/, like this:
    zzz/whatever.html
    zzz/networking/SiteTesting.class

  • Java Applet fails to run after JRE upgrade

    I had JRE 1.6 which was updated to 1.8.0_31. After this update my applet has stopped working and I am getting below error
    java.lang.ExceptionInInitializerError
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(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 sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassCastException: sun.security.ssl.X509TrustManagerImpl cannot be cast to com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
      at com.sun.deploy.security.X509ExtendedDeployTrustManager.<init>(Unknown Source)
      at com.sun.deploy.net.protocol.https.Handler$Initializer$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.net.protocol.https.Handler$Initializer.<clinit>(Unknown Source)
      ... 29 more
    Exception: java.lang.ExceptionInInitializerError
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(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 sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
    I am using Jboss server and the server.xml file has been updated to use the correct Keystore and certificate using SSL. Below is what I am Using:
    <Connector protocol="HTTP/1.1" SSLEnabled="true"
               port="8443" address="${jboss.bind.address}"
               scheme="https" secure="true" clientAuth="false"
               keystoreFile="${jboss.server.home.dir}/conf/XYZ.keystore"
               keystorePass="XXX" sslProtocol = "TLS" />
    I have added the https site which I am trying to access in the exception list of both the browser and JAVA control Panel. Cleared the cache of both and have also deleted the user certificate to ensure the latest certificate gets downloaded.
    Kindly help to know the resolution steps.

    I had JRE 1.6 which was updated to 1.8.0_31. After this update my applet has stopped working and I am getting below error
    java.lang.ExceptionInInitializerError
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(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 sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassCastException: sun.security.ssl.X509TrustManagerImpl cannot be cast to com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
      at com.sun.deploy.security.X509ExtendedDeployTrustManager.<init>(Unknown Source)
      at com.sun.deploy.net.protocol.https.Handler$Initializer$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.net.protocol.https.Handler$Initializer.<clinit>(Unknown Source)
      ... 29 more
    Exception: java.lang.ExceptionInInitializerError
    java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
      at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.<init>(Unknown Source)
      at sun.plugin.net.protocol.jar.Handler.openConnection(Unknown Source)
      at java.net.URL.openConnection(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
      at sun.misc.URLClassPath$3.run(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 sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.net.protocol.https.Handler$Initializer
    I am using Jboss server and the server.xml file has been updated to use the correct Keystore and certificate using SSL. Below is what I am Using:
    <Connector protocol="HTTP/1.1" SSLEnabled="true"
               port="8443" address="${jboss.bind.address}"
               scheme="https" secure="true" clientAuth="false"
               keystoreFile="${jboss.server.home.dir}/conf/XYZ.keystore"
               keystorePass="XXX" sslProtocol = "TLS" />
    I have added the https site which I am trying to access in the exception list of both the browser and JAVA control Panel. Cleared the cache of both and have also deleted the user certificate to ensure the latest certificate gets downloaded.
    Kindly help to know the resolution steps.

  • Java Applet Won't Load

    I try to use this site http://www.csupomona.edu/%7Ewgverbrugge/Billweb/TestAPPS/SimulatedMach/MachineUI.html
    It says load: class MachineUI.class not found.
    load: class MachineUI.class not found.
    java.lang.ClassNotFoundException: MachineUI.class
         at sun.applet.AppletClassLoader.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)
    basic: Exception: java.lang.ClassNotFoundException: MachineUI.class
    java.lang.ClassNotFoundException: MachineUI.class
         at sun.applet.AppletClassLoader.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)
         ... 10 more
    basic: Modality pushed
    basic: Modality popped
         ... 10 more

    EJP wrote:
    'this.document' is a predefined variable that defines the URL source of the current page. If you are referring to the predefined variable that provides access to the Document Object Model then I believe you are mistaken, that is 'window.document' or just 'document'.
    EJP wrote:
    Your name either conflicts with that or is getting confused with it somewhere.The 'document' variable is a parent of the window object e.g. 'window.document' but my variable has the context of 'this'. That means 'this.document.URL' returns 'undefined' instead of the URL for the current page.
    JavaScript is also case sensitive so 'document.URL' is not the same as 'Document.URL', the last of which returns 'undefined'.
    If Java relealy was confusing my variable with the predfined one then I would expect the same behaviour if I were to use differnt variations of the variable. However the follwoing JavaScript doesnt affect the Applet in anyway:
    <script type="text/javascript" language="javascript">
        //this.Document = 'string'; // Remove this line to get it to work again
        this.document = 'string';
        document = 'string';
        Document = 'string';            
    </script>For some strange reason it only affects the Applet when 'this.Document' is used. Why would Java be affected in this way in the first instance? Even setting the 'scriptable' parameter to false doesn’t help:
    <param name="scriptable" value="false">Are there any other settings I am not aware of that could maybe prevent Java from loooking at the JavaScript?
    EJP wrote:
    Use another name.As I mentioned in my original post this is not easily done, I can edit the source code on my own site but the code still remains unchanged on the Mootools JavaScript Framework website.
    Thanks

  • Signed applets won't run @ web, only locally

    Hey, all elitist java folk, here is one for you:
    I have succeded in creating a signed, and an un-signed java applet - both run well locally. The signed applet, writes to a local file.
    Both are merely proof of concept.
    So, here is the deal:
    I upload both to a webserver (one of those where you get 50Mb for free) via ftp (not ASCII, binary transfer), and only the unsigned will run in my browsers (Opera, FF, MSIE tested).
    The signed one writes to the screen: "Could not instantiate."
    I belive the problem lies in the HTML, which is very basic but still works locally. I don't have any clsid-thingy, is this nessecary? Where do I read about this?
    HTML that (should) load the signed applet:
    <html>
    <applet code="localfile.class" archive="localfile.jar"  width="300" height="300">
    </applet>
    </body>
    </html>As previously said, the unsigned applet work both from the web and locally, so I won't post any more html here...
    Btw, I am not interessed in editing any policy-file; my signed applet should work "out-of-the-box" for any java-enabled browser on the Internet.
    All I want is for the browser to load the signed java applet, ask user for certificate confirmation, and run it... Just like with http://jupload.sourceforge.net/applet-basic.html , which also access local filesystem.

    If you open the Java Console what does it say?
    There shouldn't be any difference in loading the applet locally or from the webserver... presuming the HTML and jar files and classnames and stuff are all correct relative to both locations.

  • Java applets won't load, have latest version of java installed, have removed all old versions from the hard drive, java console not working in firefox, any suggestions please ?

    java applets will not load,
    i have run the java test page & i have the latest version installed.
    have removed all old versions of java from my hard drive & restarted the computer.
    i have checked that java is enabled in the plug-ins and it is with version se 6 u22, also something called java development toolkit 6.0.220.4 np runtime script plug-in library for java (tm) deploy.
    if i click on java console in tolls nothing happens

    Hi,
    You might want to look in your control panel for 'Java' icon. It should give you an option to enable java plugin into your browser. Let me know if you still face the issue.
    Thanks!

  • Java applet won't load from Jar file

    Hi all,
    I have a problem which I didn't used to have. I have written an applet which used certain classes stored in directories. It used to work just fine. I recently updated the main class from which the applet starts and since then I get error messages:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    User home directory = /Users/benoize
    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
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class WiaRekenToolHC.class not found.
    java.lang.ClassNotFoundException: WiaRekenToolHC.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:252)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:687)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3046)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
         at java.lang.Thread.run(Thread.java:680)
    Exception: java.lang.ClassNotFoundException: WiaRekenToolHC.class
    As you can see it says that it can't find the class WiaRekenToolHC, but it's there in the jar files.
    Here is the link where you can see it:
    www.creativemathsolutions.nl/demo/HC/demo.html
    The jar files are in the directory HC and Generic.
    If you need more info then let me know!
    Regards, Benoit

    <applet
      codebase="http://www.creativemathsolutions.nl/demo/HC"
      code="WiaRekenToolHC.class"
      ARCHIVE="HC/wia_hc_archive_v0_3.jar, Generic/wia_archive_v0_3.jar"
      width=900 height=600>The code-base combined with archive href for the first Jar mean the JRE will look for it at:
    http://www.creativemathsolutions.nl/demo/HC/HC/wia_hc_archive_v0_3.jar
    It is not there. The other Jar is also missing from the stated location.

  • Java Applets won't load in Netscape 4

    Hello,
    No java applets will load in Netscape 4. I checked to see if java plugins existed and they do I actually have about 4 different versions installed on my computer because I have been trying to resolve this issue. I looked in the browsers plugins directory it contains four java .dll files. Does anybody know whats going on? In internet explorer java applets load correctly.
    Thank You,
    Mark

    Perhaps it is due to your HTML code in the webpage? If you use the <APPLET> tag only, the applet may not run in all browser/platform. You can use HtmlConverter that comes with JDK/JRE 1.4 in order to generate HTML code which allows your applet to run in any browser/platform.
    Hope it helps,
    A.A.
    Hello,
    No java applets will load in Netscape 4. I checked to
    see if java plugins existed and they do I actually
    have about 4 different versions installed on my
    computer because I have been trying to resolve this
    issue. I looked in the browsers plugins directory it
    contains four java .dll files. Does anybody know whats
    going on? In internet explorer java applets load
    correctly.
    Thank You,
    Mark

  • Applet won't run on all platforms

    I've written a simple applet that compiles cleanly (apparently), and
    will run on Solaris and Red Hat 9 using appletviewer; and it will run
    on a friend's WinXP Pro system. But when I try to run it on my WIn XP
    Pro system, I get these messages in the appletviewer window:
    error:null
    then
    Start: applet not initialized
    and in the DOS box I call appletviewer from, I get a string of
    messages :
    at Panel.<init>(Panel.java:10)
    I'm using J2SE 1.4.1 on my XP system.
    Thanks for any help!
    Harry

    OK, here's the code:
    //CardDemo.java
    //  action handling with multiple events
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class CardDemo extends Applet implements ActionListener{
      //Control panel components
      Panel pnlControls = new Panel();
      Button btnFirst = new Button("|<<");
      Button btnPrev = new Button("<==");
      Button btnC = new Button("C");
      Button btnNext = new Button("==>");
      Button btnLast = new Button(">>|");
      //The Cards
      Panel pnlCards = new Panel();
      CardLayout Stack = new CardLayout();
      Label lblA = new Label("A");
      Label lblB = new Label("B");
      Label lblC = new Label("C");
      Label lblD = new Label("D");
      Label lblE = new Label("E");
      public void init(){
        //set up the main page
        this.setLayout(new BorderLayout());
        this.add(pnlControls, BorderLayout.SOUTH);
        this.add(pnlCards, BorderLayout.CENTER);
        // set up the control panel
        pnlControls.setFont(new Font("SanSerif",Font.BOLD, 20));
        pnlControls.setLayout(new FlowLayout());
        pnlControls.add(btnFirst);
        pnlControls.add(btnPrev);
        pnlControls.add(btnC);
        pnlControls.add(btnNext);
        pnlControls.add(btnLast);
         // register the ActionListener
        btnFirst.addActionListener(this);
        btnPrev.addActionListener(this);
        btnC.addActionListener(this);
        btnNext.addActionListener(this);
        btnLast.addActionListener(this);
        //set up the card panel
        pnlCards.setLayout(Stack);
        pnlCards.setFont(new Font("SanSerif",Font.BOLD, 60));
        pnlCards.add(lblA,"A");
        pnlCards.add(lblB,"B");
        pnlCards.add(lblC,"C");
        pnlCards.add(lblD,"D");
        pnlCards.add(lblE,"E");
        //center the labels
        lblA.setAlignment(Label.CENTER);
        lblB.setAlignment(Label.CENTER);
        lblC.setAlignment(Label.CENTER);
        lblD.setAlignment(Label.CENTER);
        lblE.setAlignment(Label.CENTER);
       } // end init
        public void actionPerformed(ActionEvent e){
             //get the name of the button that was pressed
             String theCommand = e.getActionCommand();
             //check to see which button was pressed
             if (theCommand.equals("|<<")){
            Stack.first(pnlCards);
          else if (theCommand.equals("<==")){
            Stack.previous(pnlCards);
          else if (theCommand.equals("C")){
            Stack.show(pnlCards,"C");
          else if (theCommand.equals("==>")){
            Stack.next(pnlCards);
          else if (theCommand.equals(">>|")){
            Stack.last(pnlCards);
          }  // end if
       } // end ActionPerformed
    } // end class def

Maybe you are looking for