Results 1 to 2 of 2
  1. #1
    manchet is offline Member
    Join Date
    Jun 2013
    Posts
    1
    Rep Power
    0

    Default Applets not running in jre7

    Hi there,

    I have simple java3d applet which was running fine with java 6. When I installed java 7 in my machine (after uninstalling java 6), my applet stopped working.

    Few observations:
    1) Woking fine in eclipse applet viewer even with jre7
    2) Uninstalled JDK 6 too..I just tried to access my applet with everything related to java uninstalled; Then I tried to access applet through Chrome browser, Broweser prompted to install jre7 plugin, which I did.
    3) Signed my jars using jarsigner
    4) I am getting similar errors in other browsers too
    5) Using Windows Vista OS


    Here is the stacktrace

    NativeLibLoader: resolving loaded C:\Program Files\Java\jre7\bin\plugin2\npjp2.d
    ll
    (Succeeded)
    NativeLibLoader: C:\PROGRA~1\Java\jre7\lib\bin\jp2native.dll doesn't exist
    NativeLibLoader: trying to load C:\PROGRA~1\Java\jre7\bin\jp2native.dll
    (Succeeded)
    MozillaPlugin.MozillaPlugin with browser thread ID: 5660
    MozillaPlugin.setWindow sun.plugin2.main.server.MozillaPlugin@c00025 hWndControl
    Window = 132340 caRenderServerName = null
    Attempting to start applet
    1 JavaFX runtime found.
    1) JavaFX 2.2.21 found at C:\PROGRA~1\Java\jre7\
    JVMLauncher.start: launcher params:
    <-Xbootclasspath/a:C:\PROGRA~1\Java\jre7\lib\deploy.jar;C:\PROGRA~1 \Java
    \jre7\lib\javaws.jar;C:\PROGRA~1\Java\jre7\lib\plu gin.jar>
    <-Djava.class.path=C:\PROGRA~1\Java\jre7\classes>
    <-Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi ndows\Sun\Java\Deplo
    yment\lib\trusted>
    <-Dsun.awt.warmup=true>
    <--->
    <-->
    <sun.plugin2.main.client.PluginMain>
    <write_pipe_name=jpi2_pid4276_pipe2,read_pipe_name =jpi2_pid4276_pipe1>
    JVMLauncher.start(): now - user.startApplet(): 26203 us
    JVMLauncher.processArg[0]: C:\Program Files\Java\jre7\bin\jp2launcher.exe
    JVMLauncher.processArg[1]: -D__jvm_launched=2242808071
    JVMLauncher.processArg[2]: -D__applet_launched=2242781868
    JVMLauncher.processArg[3]: -Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi nd
    ows\Sun\Java\Deployment\lib\trusted
    JVMLauncher.processArg[4]: -Dsun.awt.warmup=true
    JVMLauncher.processArg[5]: sun.plugin2.main.client.PluginMain
    JVMLauncher.processArg[6]: write_pipe_name=jpi2_pid4276_pipe2,read_pipe_name= jpi
    2_pid4276_pipe1
    JVMLauncher.processArgs total len: 321, custArgsMaxLen: 8058
    JVMLauncher.afterStart(): starting JVM process watcher
    JVMInstance.start: JVMID original params array:
    [0][0]: <-Xbootclasspath/a:C:\PROGRA~1\Java\jre7\lib\deploy.jar;C:\PROGR
    A~1\Java\jre7\lib\javaws.jar;C:\PROGRA~1\Java\jre7 \lib\plugin.jar>
    [0][1]: <-Djava.class.path=C:\PROGRA~1\Java\jre7\classes>
    [0][2]: <-Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi ndows\Sun\Ja
    va\Deployment\lib\trusted>
    [0][3]: <-Dsun.awt.warmup=true>
    [4][0]: <null>
    JRE 1.7.0.21: Rejecting attempt to specify unsupported characters in command-lin
    e argument: -Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi ndows\Sun\Java\De
    ployment\lib\trusted
    java.io.IOException: Never received connection from client side
    at sun.plugin2.ipc.windows.WindowsNamedPipe.waitForCo nnection(Unknown So
    urce)
    at sun.plugin2.ipc.windows.WindowsNamedPipe.write(Unk nown Source)
    at sun.plugin2.message.transport.NamedPipeTransport$S erializerImpl.flush
    (Unknown Source)
    at sun.plugin2.message.transport.NamedPipeTransport.s ignalDataWritten(Un
    known Source)
    at sun.plugin2.message.transport.SerializingTransport .write(Unknown Sour
    ce)
    at sun.plugin2.message.Pipe.send(Unknown Source)
    at sun.plugin2.main.server.JVMInstance.sendMessageDir ect(Unknown Source)

    at sun.plugin2.main.server.JVMInstance.sendMessage(Un known Source)
    at sun.plugin2.main.server.JVMInstance.startImpl(Unkn own Source)
    at sun.plugin2.main.server.JVMInstance.start(Unknown Source)
    at sun.plugin2.main.server.JVMManager.getOrCreateBest JVMInstance(Unknown
    Source)
    at sun.plugin2.main.server.JVMManager.startAppletImpl (Unknown Source)
    at sun.plugin2.main.server.JVMManager.startApplet(Unk nown Source)
    at sun.plugin2.main.server.JVMManager.startApplet(Unk nown Source)
    at sun.plugin2.main.server.MozillaPlugin.maybeStartAp plet(Unknown Source
    )
    at sun.plugin2.main.server.MozillaPlugin.setWindow(Un known Source)
    java.io.IOException: Error closing WindowsNamedPipe: server: true; readPipe: jpi
    2_pid4276_pipe2, readBufferSz: 4096; writePipe: jpi2_pid4276_pipe1, writeBufferS
    z: 4096
    at sun.plugin2.ipc.windows.WindowsNamedPipe.close(Unk nown Source)
    at sun.plugin2.message.transport.NamedPipeTransport.s hutdown(Unknown Sou
    rce)
    at sun.plugin2.message.transport.NamedPipeTransportFa ctory.dispose(Unkno
    wn Source)
    at sun.plugin2.main.server.JVMInstance.disposePipe(Un known Source)
    at sun.plugin2.main.server.JVMInstance.restart(Unknow n Source)
    at sun.plugin2.main.server.JVMInstance.access$2800(Un known Source)
    at sun.plugin2.main.server.JVMInstance$Listener.jvmEx ited(Unknown Source
    )
    at sun.plugin2.jvm.JVMLauncher.fireJVMExited(Unknown Source)
    at sun.plugin2.jvm.JVMLauncher.access$300(Unknown Source)
    at sun.plugin2.jvm.JVMLauncher$JVMWatcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)JVMLauncher.start: launcher param
    s:

    <-Xbootclasspath/a:C:\PROGRA~1\Java\jre7\lib\deploy.jar;C:\PROGRA~1 \Java
    \jre7\lib\javaws.jar;C:\PROGRA~1\Java\jre7\lib\plu gin.jar>
    at sun.plugin2.message.Queue.waitForMessage(Unknown Source) <-Djava.
    class.path=C:\PROGRA~1\Java\jre7\classes>

    <-Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi ndows\Sun\Java\Deplo
    yment\lib\trusted>
    <-Dsun.awt.warmup=true>
    at sun.plugin2.message.Pipe$1.run(Unknown Source) <--->
    <-->
    <sun.plugin2.main.client.PluginMain>

    <write_pipe_name=jpi2_pid4276_pipe4,read_pipe_name =jpi2_pid4276_pipe3>
    at com.sun.deploy.util.Waiter$1.wait(Unknown Source)JVMLauncher.start():
    now - user.startApplet(): 1671839 us
    JVMLauncher.processArg[0]: C:\Program Files\Java\jre7\bin\jp2launcher.exe

    JVMLauncher.processArg[1]: -D__jvm_launched=2244453707
    at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
    JVMLauncher.processArg[2]: -D__applet_launched=2242781868
    at sun.plugin2.message.Pipe.receive(Unknown Source)
    JVMLauncher.processArg[3]: -Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi nd
    ows\Sun\Java\Deployment\lib\trusted
    at sun.plugin2.main.server.JVMInstance$WorkerThread.r un(Unknown Source)J
    VMLauncher.processArg[4]: -Dsun.awt.warmup=true

    JVMLauncher.processArg[5]: sun.plugin2.main.client.PluginMain
    java.lang.InterruptedExceptionJVMLauncher.processA rg[6]: write_pipe_name=jpi2_pi
    d4276_pipe4,read_pipe_name=jpi2_pid4276_pipe3

    at java.lang.Object.wait(Native Method)JVMLauncher.processArgs total len
    : 321, custArgsMaxLen: 8058

    at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
    at sun.plugin2.message.Pipe$1.run(Unknown Source)
    at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
    JVMLauncher.afterStart(): starting JVM process watcher
    at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
    JVMInstance.start: JVMID original params array:
    at sun.plugin2.message.Pipe.receive(Unknown Source)
    [0][0]: <-Xbootclasspath/a:C:\PROGRA~1\Java\jre7\lib\deploy.jar;C:\PROGR
    A~1\Java\jre7\lib\javaws.jar;C:\PROGRA~1\Java\jre7 \lib\plugin.jar>
    at sun.plugin2.main.server.JVMInstance$WorkerThread.r un(Unknown Source)
    [0][1]: <-Djava.class.path=C:\PROGRA~1\Java\jre7\classes>
    [0][2]: <-Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi ndows\Sun\Ja
    va\Deployment\lib\trusted>
    [0][3]: <-Dsun.awt.warmup=true>
    [4][0]: <null>
    JRE 1.7.0.21: Rejecting attempt to specify unsupported characters in command-lin
    e argument: -Djava.ext.dirs=C:\PROGRA~1\Java\jre7\lib\ext;C:\Wi ndows\Sun\Java\De
    ployment\lib\trusted

    Please advise on what could be an issue; Any suggestions are greatly appreciated as we are trying to nail down from past few days without much luck.

    Regards,
    Mano

  2. #2
    prasad.chjr is offline Member
    Join Date
    Jan 2016
    Posts
    1
    Rep Power
    0

    Default Re: Applets not running in jre7

    Hi manchet,

    I'm facing exactly same issue when I tried to open an applet in firefox and getting java.io.IOException: Never received connection from client side exception. My application will set proxy for the browser and then we try to access applet in firefox. Unable to understand the root cause. Please let me know if you have found any solution for the same. Thanks in advance.

Similar Threads

  1. Unable to get control of CMD after running applets
    By kdiswired in forum New To Java
    Replies: 4
    Last Post: 04-11-2012, 04:32 PM
  2. jre7 , IE,https protocal fail to deploy applet
    By snowjo502 in forum Java Applets
    Replies: 1
    Last Post: 01-30-2012, 12:42 PM
  3. Java Applets not running in Any browser
    By umair in forum Java Applets
    Replies: 1
    Last Post: 12-27-2009, 05:46 PM
  4. running Applets w/o HTML page.
    By angryboy in forum Java Tip
    Replies: 0
    Last Post: 01-30-2009, 10:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •