Java plug-in settings

Is there a way to change the java plug-in settings outside the control panel??? Can I use an ant script or env-variable? Or can I edit some .ini file or even the windows registry???
thanks.

sbelsly said that ".. have also had trouble getting some settings to work with the file in the windows\sun\java\deployment folder."
We operate in a lockdown environment and have never got the C:\Windows\sun\java\deployment\deployment.properties or deployment.config to work for anything but JWS stuff. However, the we can provide a script through which users can create or modify their own deployment.properties file under their application data folder.
For us, this file does not exist when the user first gets 1.4.2 installed, the plugin seems to use defaults. The file will be created if for example the user resets the cache location using the CPL file (the JavaPlugin Control Panel). We can use the script to either create a basic deployment.properties file or to parse and apply changes to an existing one.
Try looking for it in <user profile>\Application Data\Sun\Java\Deployment. If you can't find it then you should be able to create it by opening the CPL and changing, say, the cache location.

Similar Messages

  • Next-Generation Plug-In settings in the Enterprise

    I work in a company of 1000+ desktops and various user groups running various core systems. For background, we've been standardized on IE 6 for years, and we're trying to move to IE 8.
    I'm looking into an issue with one of our core systems. It's a 3rd party solution that relies on an applet that fails when the latest JRE is downloaded and the "Enable the next-generation Java Plug-in" is checked (which it is by default).
    I've been searching the web, and I know most of the work-arounds, including how to run ssvagent.exe -high -jpisetup -old from the JRE install folder. I'm almost ready to pass this information on to our desktop admins, but I have a few questions I know they are going to ask. I would deeply appreciate any help in answering these questions:
    What is the possible impact of disabling the next-generation Java Plug-in on other applets from other 3rd party vendors? Are we likely to run into some applets/plug-ins that fail when this option is disabled?
    The vendor of the app that's failing isn't being very helpful. Is there any info we can give them on how to recompile the applet so that it works under the default setting?
    What are other large enterprises doing to manage this?
    Thanks in advance for any answers. Until we have this resolved, we're unable to upgrade users to the current JRE.

    I tried the java_version param. It prompted me with a warning informing me that the app would run an earlier version of Java. I clicked run, and continued having the same issue. I captured this from the console:
    Java Plug-in 1.6.0_20
    Using JRE version 1.5.0_15-b04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\kswans1.AMERICREDIT
    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>
    java.lang.NoClassDefFoundError: sun/awt/DesktopBrowse
         at sun.plugin2.applet.Applet2Environment.initialize(Unknown Source)
         at sun.plugin2.main.client.PluginMain.handleMessageSetJVMID(Unknown Source)
         at sun.plugin2.main.client.PluginMain.mainLoop(Unknown Source)
         at sun.plugin2.main.client.PluginMain.run(Unknown Source)
         at sun.plugin2.main.client.PluginMain.main(Unknown Source)
    security: property package.access value sun.
    security: property package.access new value sun.,com.sun.javaws
    security: property package.access value sun.,com.sun.javaws
    security: property package.access new value sun.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    basic: setDeployURLClassPathCallbacks: no enhanced access
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@153f67e
    network: Cache entry found [url: http://drvmwebbnt02.americredit.com:9081/MyProvenir/MyProvenirZip.class, version: null] prevalidated=false/0
    network: Connecting http://drvmwebbnt02.americredit.com:9081/MyProvenir/MyProvenirZip.class with proxy=DIRECT
    network: Connecting http://drvmwebbnt02.americredit.com:9081/MyProvenir/MyProvenirZip.class with cookie "JSESSIONID=84C38F94C7BABF9B3318856D87B9736D; __utma=1.1067525869.1271360926.1278605523.1278684887.12; __utmz=1.1271360926.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)"
    network: ResponseCode for http://drvmwebbnt02.americredit.com:9081/MyProvenir/MyProvenirZip.class : 304
    network: Encoding for http://drvmwebbnt02.americredit.com:9081/MyProvenir/MyProvenirZip.class : null
    network: Disconnect connection to http://drvmwebbnt02.americredit.com:9081/MyProvenir/MyProvenirZip.class
    network: Cache entry not found [url: http://drvmwebbnt02.americredit.com:9081/MyProvenir/, version: null]
    basic: Applet loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 374612 us, pluginInit dt 666096 us, TotalTime: 1040708 us
    basic: Applet initialized
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@153f67e
    basic: Applet made visible
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet started
    basic: Told clients applet is started

  • JRE 1.7 / Java Plug-in - Long delay in retrieving the applet File(JAR) due to a request to the Domain Controller(on port 53)

    Description:
    A specific group of users/customers (using Windows7 OS with IE and FireFox web browsers) are facing problems with retrieving the applet File, after they upgraded the JRE on the system(PC) to JRE 1.7.0_25-b17 from JRE version 1.6.0_29-b11.
    With JRE 1.7.0_25-b17 it is noticed that when the Java plugin requests for the applet File; it sends a request to the Domain Controller of the user, which causes a delay of 2 to 5 minutes and sometimes hangs. The problem occurs consistently.
    The current temporary workaround for this group of users is to use JRE version 1.6.0_29-b11.
    Problem analysis:
    To investigate the problem the below steps were executed:
    1) Collected the Java console outputbelow details from the user's system. (The complete output is not posted due to lengthy content, though can be added further to this post if required.)
    (a) Works fine with JRE version 1.6.0_29-b11. Kindly refer to Java console output in the code ‘section A’ towards the end of this post.
    (b) The problem occurs with problem with JRE version 1.7.0_25-b17. Kindly refer to Java console output in the code ‘section B’ towards the end of this post. The step where the problem is observed, is indicated as(##<comment>##).
    2) The network settings in the user's browser was checked. Internet Options > Connections > LAN setting
    The configured option is 'Use automatic configuration script' and the value is http://www.userAppX.com/proxy.pac
    This configuration remains the same irrespective of the JRE version in use.
    3) The network settings in the Java Control Panel was checked.
    The used/selected option is "Use browser settings", although values for 'Use proxy server' and 'use automatic proxy configuration script' are filled-in as 'user-proxy.com' and 'http://www.userAppX.com/proxy.pac' respectively.
    This configuration remains the same irrespective of the JRE version in use.
    4) The proxy PAC file was checked and debugging was done for the request 'https://myAppletHost.com/download/...'. The FindProxyForUrl function (including the conditions defined in it, for the hostname and domain checks) returns PROXY user-proxy.com:80
    5) The user also tried the below
    a. Changed the option in the network settings in the browser to 'Proxy server' with Address 'user-proxy.com' and Port '80'
    b. Restarted the browser.
    c. Tried with Java Plug-in 1.6.0_29, JRE version 1.6.0_29-b11. There was no problem and no request to the Domain Controller of the user.
    d. Tried with Java Plug-in 10.40.2.43, JRE version 1.7.0_40-b43. The problem occurs with the delay and a request to the Domain Controller of the user is observed.
    Kindly refer to Java console output in the code ‘section C’ towards the end of this post.
    6) The user also tried setting the below property in the Java Control panel; restarted the browser, and try with JRE 1.7.0_40-b43. The problem stil persists.
    -Djava.net.preferIPv4Stack=true
    7) The Global Policy Management of the Domain Controller was verified by the user. It has GPO for proxy setting but nothing related to Java security.
    Questions:
    The problem seems be specific to a particular (user) environment setup, and the user faces the problem when using JRE 1.7.
    We would like to know if the issue is in the (user) environment setup or in JRE 1.7.
    Could you please help with information/ideas/suggestions to identify the root cause and solution for this problem?
    Section A:
    Java Plug-in 1.6.0_29
    Using JRE version 1.6.0_29-b11 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-b1bb5056c5b0e83f=2; Path=/"
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-b1bb5056c5b0e83f=2; Path=/"
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    security: Checking if certificate is in Deployment denied certificate store
    network: Connecting https://myAppletHost.com/download/myApplet.jar with cookie "JSESSIONID=0000IK4bEMoqXH10zsl88rwvoRI:175oe9tjd; BCSI-CS-b1bb5056c5b0e83f=2"
    network: Downloading resource: https://myAppletHost.com/download/myApplet.jar
                    Content-Length: 403.293
                    Content-Encoding: null
    Dump system properties ...
    https.protocols = TLSv1,SSLv3
    java.vm.info = mixed mode, sharing
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 20.4-b02
    javaplugin.nodotversion = 160_29
    javaplugin.version = 1.6.0_29
    javaplugin.vm.options =
    os.arch = x86
    os.name = Windows 7
    os.version = 6.1
    trustProxy = true
    deployment.proxy.auto.config.url = http://www.userAppX.com/proxy.pac
    deployment.proxy.bypass.local = false
    deployment.proxy.http.host = user-proxy.com
    deployment.proxy.http.port = 80
    deployment.proxy.override.hosts =
    deployment.proxy.same = false
    deployment.proxy.type = 3
    deployment.security.SSLv2Hello = false
    deployment.security.SSLv3 = true
    deployment.security.TLSv1 = true
    deployment.security.mixcode = ENABLE
    Section B:
    Java Plug-in 10.25.2.17
    Using JRE version 1.7.0_25-b17 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@12adac5
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
                    (##THE ABOVE REQUEST CAUSES THE DELAY OR HANGS##)
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    network: Connecting https://myAppletHost.com/download/myApplet.jar with cookie "JSESSIONID=0000UQuXWY5tjxjpwcKHlfJKe_8:175oe9j45; BCSI-CS-2d4ce94a2ae7b460=2"
    network: ResponseCode for https://myAppletHost.com/download/myApplet.jar : 200
    network: Encoding for https://myAppletHost.com/download/myApplet.jar : null
    network: Server response: (length: -1, lastModified: Thu Feb xx yy:yy:yy CET 2013, downloadVersion: null, mimeType: text/plain)
    network: Downloading resource: https://myAppletHost.com/download/myApplet.jar
                    Content-Length: -1
                    Content-Encoding: null
    Section C:
    Java Plug-in 10.40.2.43
    Using JRE version 1.7.0_40-b43 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-1d67c8b6508ca09c=2; Path=/"
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
                    (##THE ABOVE REQUEST CAUSES THE DELAY OR HANGS##)
    network: Checking for update at: https://javadl-esd-secure.oracle.com/update/blacklist
    network: Checking for update at: https://javadl-esd-secure.oracle.com/update/blacklisted.certs
    network: Checking for update at: https://javadl-esd-secure.oracle.com/update/baseline.version
    network: Connecting https://javadl-esd-secure.oracle.com/update/blacklist with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Connecting https://javadl-esd-secure.oracle.com/update/baseline.version with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Connecting https://javadl-esd-secure.oracle.com/update/blacklisted.certs with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    Dump system properties ...
    https.protocols = TLSv1,SSLv3
    java.vm.info = mixed mode, sharing
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.7
    java.vm.vendor = Oracle Corporation
    java.vm.version = 24.0-b56
    javaplugin.nodotversion = 10402
    javaplugin.version = 10.40.2.43
    os.arch = x86
    os.name = Windows 7
    os.version = 6.1
    trustProxy = true
    active.deployment.proxy.auto.config.url = http://www.userAppX.com/proxy.pac
    active.deployment.proxy.bypass.local = false
    active.deployment.proxy.http.host = user-proxy.com
    active.deployment.proxy.http.port = 80
    active.deployment.proxy.same = false
    active.deployment.proxy.type = 3
    deployment.browser.path = C:\Program Files (x86)\Internet Explorer\iexplore.exe
    deployment.proxy.auto.config.url = http://www.userAppX.com/proxy.pac
    deployment.proxy.bypass.local = false
    deployment.proxy.http.host = user-proxy.com
    deployment.proxy.http.port = 80
    deployment.proxy.override.hosts =
    deployment.proxy.same = false
    deployment.proxy.type = 3                                                                                                                                                                                                                                                            
    deployment.security.SSLv2Hello = false
    deployment.security.SSLv3 = true
    deployment.security.TLSv1 = true
    deployment.security.TLSv1.1 = false
    deployment.security.TLSv1.2 = false
    deployment.security.authenticator = true
    deployment.security.disable = false
    deployment.security.level = HIGH
    deployment.security.mixcode = ENABLE
    PS:
    Since the JRE 1.7.0_25-b17 update, it is noticed that when the Java plugin requests for the applet File; it sends a request to the Domain Controller of the user, which causes a delay of 2 to 5 minutes and sometimes hangs.
    The problem occurs consistently, and also with JRE 1.7.0_45-b18.
    Java Plug-in 10.45.2.18
    Using JRE version 1.7.0_45-b18 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    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>
    cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@134a33d
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1971f66
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-f797d4d262467220=2; Path=/"
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
                    (##THE ABOVE REQUEST CAUSES THE DELAY AND SOMETIMES HANGS##)

    My organization is experiencing very similar problems.  We have resolved it through several steps.
    We upgraded the client to Java 8 and we saw in the console that the hanging connection with the Domain Controller no longer occurs.  This may be all that is necessary for your environment as well. 

  • Java Plug-in 1.5.0_06 Error JRE notinited

    Uninstalled all JRE versions. and downloaded the previous offline install packets from:
    http://java.sun.com/products/archive/
    JRE 1.5.0
    JRE 1.5.0_1
    JRE 1.5.0_2
    JRE 1.5.0_3
    JRE 1.5.0_4
    JRE 1.5.0_5
    JRE 1.5.0_6
    ,Installed them one after the other due to I read somewhere they recommend you keep all your JRE versions. Keep getting that error JRE notinited error on the brower status bar when I run the verify installation proccess at
    http://java.com/en
    JRE 1.4.1_02 an older version works if I uninstall all the newer versions and leave this version.
    None of the browser installed seem tow ork with the JRE 1.5 ect.
    I have IE 6, Netscape 7.2,. Firefox 1.5 all will not load applets and get that verify install red x for failing to load.
    Below is what I get in the Java Log.
    I
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Darrel Decal
    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 and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class jreCheck.class not found.
    java.lang.ClassNotFoundException: jreCheck.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
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(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.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Some People claim that Norton programs might interfere, I disabled them even went as far to uninstall them which takes a long time.. to uninstall and install them back.
    I even went as far as a clean systems install of windows XP sp2 Home Edition and th en tried to update to Sun Java and still got the red X basically saying something wrong with install. But nothing every says its wrong when you run the offline installation. Just when you go back to the website to veriffy jjava is installed.
    To be able to use my subsciption I pay for on Pogo.com to play games that require applets I had to enable the MSJava in Internet Explorer and disable the box of the Sun Java applet version whatever you have installed to have Runtime Environment.
    If you don't have the MS Java on your Internet Explorer Advanced Options you can get it at this address:
    http://www.microsoft.com/mscorp/java/
    Go figure. I thought Sun Java would be more better which I had working before have no clue why it stopped working and those errors come up when trying to play games that require the use of the java applet.
    Was hoping other java users who have figured out why it stopped can tell me what to look for to alter so I can change back to sun Java.
    The Sun Java works great with other applications just not the applets.

    The same problem happened to me. When upgrading from JRE 1.5.0_5 to JRE 1.5.0_6, suddenly no applets would load, and all I could see was the little red X.
    I tried to change proxysettings (I dont use a proxy, but it is told at http://www.java.com/en/download/help/redximage.xml that it is due to wrong proxy-settings). It didn't help.
    I tried to turn off zonealarm. It didn't help.
    I tried to clear the browsers cache. It didn't help.
    I have been using both Firefox 1.5, and IE6. None would load the java-applets.
    So I uninstalled all older JRE versions and installed JRE 1.4.1_02. It worked!
    I then tried to upgrade to JRE 1.5.0. It didn't work.
    Now I am back at JRE 1.4.1_02 without knowing why I had to downgrade through 6 versions that through the last year or so has been working fine on my machine.
    I have no idea why it suddenly wouldnt work with the newer versions.
    Any ideas?
    Thank you.

  • Next Generation Java Plug-in

    Hi -
    Our desktop application was built using older versions of core java and now runs on 1.6.0_19. When the next generation java plug-in came into play (enabled by default) we started having some GUI issues with various dialog boxes (freezing, not functioning properly, etc). These could probably have been written better whenever they were. We can individually go back and fix all of these but don't have the time to do it now. So we decided to uncheck the plug-in for now. When I do this locally on my pc, everything works fine. However, our application is available on citrix servers and when I disabled the plug-in there, I'm getting "Java Heap Space" exceptions. I definitely know there is sufficient memory on the box and the JRE settings are fine as well. Any idea why disabling the plug-in would cause java to run out of memory? I have been really confused by this and any insight would be greatly appreciated.

    anyone?

  • Java Plug in fatel Error The java Runtime Environment cannot be loaded from

    Java Plug in fatel Error The java Runtime Environment cannot be loaded from <\bin\server\jvm.dll>
    files are left behind when you uninstall Java from Windows XP.
    Directory of C:\Documents and Settings\user1\.java
    10/14/2004 06:02 PM <DIR> .
    10/14/2004 06:02 PM <DIR> ..
    03/07/2005 07:10 PM 32 jpicerts130_02
    09/19/2004 04:37 PM 32 jpicerts141_02
    09/19/2004 04:37 PM 32 jpihttpscerts141_02
    03/07/2005 07:10 PM 549 properties130_02
    09/19/2004 04:37 PM 383 properties141_02
    5 File(s) 1,028 bytes

    How do i fix it

  • HT5945 Java has updated again today, i use a jave plug in to run my virtual software to access my work from home, today i have an error message saying security will not allow access to my website that i use to log in to work from, this is a JREdetection e

    Java has updated again today,
    i use a java plug in to run my virtual software to access my work from home,
    today i have an error message saying that security will not allow access to my website
    i use to log in to work from, this is a JREdetection error,
    my system runs off java and citrix, i tried chrome,firefox and safari - same issue, if my system cannot detect java it wont run, it runs on plug ins.
    How to i change my sec settings to allow access to this website, as i can only see that i can add apps not web addresses?

    If you get an error that says can't backup, try moving the existing backup file to a safe location and thry again. again. You can find the location of the backup file here:
    iPhone and iPod touch: About backups

  • Java Plug-in 1.4 not working with IE5.5

    Hi All,
    I got problem loading a simple java class to IE5 using java plug-in JRE 1.4.0 beta 2.
    The error message is following:
    However, it works fine when I open the html page directly in the browser( i.e. use file:// instead of http://)
    I'm using IE 5.5 sp 2, apache 1.3.14 for win NT 4.0 sp 6.
    The page works for Netscape 4.7, but not for Netscape 6.
    load: class Test.class not found.
    java.lang.ClassNotFoundException: Test.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

    Hi,
    I saw your posting about the solution to the problem of "class not found" when trying to load a simple applet from the browser. I've got the same exact error:
    Java(TM) Plug-in: Version 1.4.1
    Using JRE version 1.4.1 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator Proxy Configuration: No proxy ----------------------------------------------------
    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>
    load: class HelloApplet.class not found.
    java.lang.ClassNotFoundException: HelloApplet.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
    I checked the Proxy settings in the java plugin console, and it says "use browser settings" . I also checked the settings in the browser in "LAN settings" but there is nothing checked (there is no ip address of any proxy server), does that mean we don't use a proxy server? and I should keep on looking for another cause to the problem?
    Thanks in advance
    Cecilia
    ([email protected])

  • Null pointer Exception on java plug-in , using Mutity language...

    hi all :)
    I found at plug-in do not suppor Multy language.
    for Example...
    my operating System is Window XP and log in ID is not English ... like Korean, Chinese etc...
    i programmed Web application with Swing Applet(JApplet)... and tested plug-in version 1.2.2 and 1.3.1 and XP plug-in
    Plug-in said that like this.
    Java(TM) Plug-in: version 1.3.1
    JRE version usage 1.3.1 Java HotSpot(TM) Client VM
    user home = C:\Documents and Settings\��????��java.lang.NullPointerException java.lang.NullPointerException������ ����:java.lang.NullPointerException������ ����java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException----------------------------------------------------
    c: clear console window
    f: final queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------java.lang.NullPointerException java.lang.NullPointerExceptionjava.security.PrivilegedActionException: java.lang.NullPointerExceptionjava.io.FileNotFoundException: C:\Documents and Settings\��????��\Local Settings\Temporary Internet Files\Content.IE5\9KENTUKR\graph-a[1].jar (���� ����, �������� ���� ���� ���� ������ ������ ��������)java.lang.NullPointerException java.lang.NullPointerException     at java.io.FileInputStream.open(Native Method)
    ... etc....
    this message is plug-in do not download class archive in client System cache... because of VM cannot know user.home directory...
    you can find that java plug-in does not support mulity language to see the next sentence.
    "user home = C:\Documents and Settings\��????"
    in this reason i found a problem in communication JApplet and java-script by using cookies...
    How can I solve this problem...( i must use Multi language login ID plz.....)
    have a nice day!!!
    poemtry ... ^^

    I have such problems with a russian version Windows 2000....
    Java(TM) Plug-in: Version 1.4.0
    Using JRE version 1.4.0-beta3 Java HotSpot(TM) Client VM
    User home directory = D:\Documents and Settings\?????????????
    ava.lang.NullPointerExceptionjava.lang.NullPointerException
    java.lang.NullPointerException     at sun.plugin.cache.Cache$3.hasMoreElements(Cache.java:306)
    java.lang.NullPointerException     at sun.plugin.cache.CachedFileLoader$2.run(CachedFileLoader.java:94)
    java.lang.NullPointerException     at java.security.AccessController.doPrivileged(Native Method)
    java.lang.NullPointerException     at sun.plugin.cache.Cache.privileged(Cache.java:237)
    java.lang.NullPointerException     at sun.plugin.cache.CachedFileLoader.getCacheFile(CachedFileLoader.java:86)
    java.lang.NullPointerException     at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:66)
    java.lang.NullPointerException     at sun.plugin.cache.FileCache.get(FileCache.java:138)
    java.lang.NullPointerException     at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(HttpURLConnection.java:198)
    java.lang.NullPointerException     at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:144)
    java.lang.NullPointerException     at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:290)
    java.lang.NullPointerException     at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1120)
    java.lang.NullPointerException     at sun.net.www.protocol.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:1134)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:224)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
    java.lang.NullPointerException     at java.security.AccessController.doPrivileged(Native Method)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
    java.lang.NullPointerException     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:191)
    java.lang.NullPointerException     at java.lang.ClassLoader.loadClass(ClassLoader.java:309)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
    java.lang.NullPointerException     at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:470)
    java.lang.NullPointerException     at sun.applet.AppletPanel.createApplet(AppletPanel.java:551)
    java.lang.NullPointerException     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1610)
    java.lang.NullPointerException     at sun.applet.AppletPanel.runLoader(AppletPanel.java:480)
    java.lang.NullPointerException     at sun.applet.AppletPanel.run(AppletPanel.java:293)
    java.lang.NullPointerException     at java.lang.Thread.run(Thread.java:539)
    java.lang.NullPointerExceptionjava.lang.NullPointerException
    java.lang.NullPointerException     at sun.plugin.cache.Cache$3.hasMoreElements(Cache.java:306)
    java.lang.NullPointerException     at sun.plugin.cache.CachedJarLoader$4.run(CachedJarLoader.java:212)
    java.lang.NullPointerException     at java.security.AccessController.doPrivileged(Native Method)
    java.lang.NullPointerException     at sun.plugin.cache.Cache.privileged(Cache.java:237)
    java.lang.NullPointerException     at sun.plugin.cache.CachedJarLoader.getCacheFile(CachedJarLoader.java:204)
    java.lang.NullPointerException     at sun.plugin.cache.CachedJarLoader.<init>(CachedJarLoader.java:81)
    java.lang.NullPointerException     at sun.plugin.cache.JarCache.get(JarCache.java:170)
    java.lang.NullPointerException     at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:73)
    java.lang.NullPointerException     at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:58)
    java.lang.NullPointerException     at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:501)
    java.lang.NullPointerException     at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462)
    java.lang.NullPointerException     at sun.misc.URLClassPath$2.run(URLClassPath.java:258)
    java.lang.NullPointerException     at java.security.AccessController.doPrivileged(Native Method)
    java.lang.NullPointerException     at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)
    java.lang.NullPointerException     at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)
    java.lang.NullPointerException     at sun.misc.URLClassPath.getResource(URLClassPath.java:137)
    java.lang.NullPointerException     at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    java.lang.NullPointerException     at java.security.AccessController.doPrivileged(Native Method)
    java.lang.NullPointerException     at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134)
    java.lang.NullPointerException     at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:191)
    java.lang.NullPointerException     at java.lang.ClassLoader.loadClass(ClassLoader.java:309)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
    java.lang.NullPointerException     at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
    java.lang.NullPointerException     at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:470)
    java.lang.NullPointerException     at sun.applet.AppletPanel.createApplet(AppletPanel.java:551)
    java.lang.NullPointerException     at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1610)
    java.lang.NullPointerException     at sun.applet.AppletPanel.runLoader(AppletPanel.java:480)
    java.lang.NullPointerException     at sun.applet.AppletPanel.run(AppletPanel.java:293)
    java.lang.NullPointerException     at java.lang.Thread.run(Thread.java:539)
    java.lang.NullPointerException
    on mainpage http://java.sun.com :-)

  • Java is blocked. Don't know why. Error: Application Blocked Java Plug-In 10.51.2.13 using JRE version 1.7.0_51-b13 Java HotSpot(TM) Client VM

    I keep receiving this message when trying to use http://www.exodus-chats.org/DolTerias . it uses a java based chat system, and won't allow me to open the application. I've tried checking through my options menus, but I've found no reason as to why this can be blocked. The only thing I've come up with is my plug ins, but it doesn't allow me to change anything to allow the app to be used.
    Application Blocked
    Details: Java Plug-In 10.51.2.13 using JRE version 1.7.0_51-b13 Java HotSpot(TM) Client VM

    Starting in Java 7 Update 51, sites that would normally be blocked based on your Java Security settings can be added to an Exceptions list, via the Java Control Panel. See the Java Help page [http://www.java.com/en/download/faq/exception_sitelist.xml How can I configure the Exception Site List?] for details.
    Ref: http://kb.mozillazine.org/Java#Java_security_prompts

  • Java Plug-in 1.4.0 fails ...

    Hello all :-)
    I've installed Java plug-in 1.4.0 on few machines with different Windows versions. Between them there're 4 machines with Win2000 ... On 3 machines everything is fine, but on the fourth one when I try to run an applet the Explorer gets stuck and also the Java console doesn't allow to be opened ...
    When I'm trying to open the Plug-in dialog from the "control panel" it's also doesn't get opened ...
    I've compared the "internet options" settings between those OS - it seems to be the same ...
    Maybe somebody has already faced similar problem ??? PLEASE :-))

    I have a very similar situation with JRE 1.4.0. Two nearly identical platforms running WIndows 2000 SP3, IE 5.5 SP2 with security updates and on one machine all is well and the other simply refuses to start the Java Console control panel applet and refuses to load/render java applets (i.e., IE stops responding).
    I have have experimented a great deal and have discovered that the one machine that is working without problems is also running the Altiris Vision master/control module whereas the machine that has problems is running Altiris Vision user module. I suspect one (or more) of the hooked interrupts in the user module may be the culprit. I read somewhere else in this forum that someone else with a similar remote control package (e.g., Carbon Copy) was experiencing a similar problem.
    I would also like to resolve this issue. I hope this helps. Anyone else have any tips?

  • Does Java Plug-in Ignore java.policy Permissions?

    I am running Firefox 3.6.12 on Ubuntu Karmic with Java plug-in 1.6.0_22. I'm trying to run an Aventail OnDemand applet, and I keep getting I/O file-reading permissions exceptions in the Java console. I tried granting the permission in /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/security/java.policy, but that was apparently ignored. Any help would be greatly appreciated.

    I think the java plugin uses C:\Program Files\Java\j2re1.4.2_04\lib\security\cacerts as a store to get keys.
    The password of this file is changeit and you can use keytool to import keys.
    I found contradicting information about what can be imported but if you have a p12 file (Mozilla convention for PKCS12) you can import it with java control panel:
    C:\Program Files\Java\j2re1.4.2_04\bin\jpicpl32.exe
    After imported a cert with control panel it was put in a file located here
    C:\Documents and Settings\sbaker\Application Data\Sun\Java\Deployment\security\
    Importing with the control panel makes a user specific import and importing with keytool in C:\Program Files\Java\j2re1.4.2_04\lib\security\cacerts (password is changeit) makes it machine specific.

  • Java Plug-in 10.4.1.255 occasionally lauches applets in separate JVMs

    I have a web page with an applet and I can add other applets to this page in runtime. These applets need to communicate with the first applet, so they all must be run in the same JVM instance. But since the last Java Plug-in update (10.4.1.255) it became impossible. New applets occasionally start in new JVM. separate_jvm=false doesn't solve the problem.
    You can test it with this demo: http://demo.aurigma.com/ImageUploader7/MultipleDescriptionsDemo/Default.aspx. Just add some images; thumbnail applets started in new JVM cannot connect to uploader applet.
    Is there any way to launch all applets in the same JVM instance?

    The same problem happened to me. When upgrading from JRE 1.5.0_5 to JRE 1.5.0_6, suddenly no applets would load, and all I could see was the little red X.
    I tried to change proxysettings (I dont use a proxy, but it is told at http://www.java.com/en/download/help/redximage.xml that it is due to wrong proxy-settings). It didn't help.
    I tried to turn off zonealarm. It didn't help.
    I tried to clear the browsers cache. It didn't help.
    I have been using both Firefox 1.5, and IE6. None would load the java-applets.
    So I uninstalled all older JRE versions and installed JRE 1.4.1_02. It worked!
    I then tried to upgrade to JRE 1.5.0. It didn't work.
    Now I am back at JRE 1.4.1_02 without knowing why I had to downgrade through 6 versions that through the last year or so has been working fine on my machine.
    I have no idea why it suddenly wouldnt work with the newer versions.
    Any ideas?
    Thank you.

  • Java Plug-in 1.5.0_02 applet error

    Hi to all,
    I have a situation that i cannot resolve. I have a computer in which i login as myself (admin context) and can view the site correctly without errors. However, when i login as a normal user (user) with some group policies implemented i get the following error. My TOC and tool bar do not appear and this is the error extracted.
    My question is that i know it is group policy related but which policy would invoke this result. ? Ie: disabling java scripting in gpedit, disabling java all together etc...
    Any help would be appreciated.
    Java Plug-in 1.5.0_02
    Utilisation de la version JRE 1.5.0_02 Java HotSpot(TM) Client VM
    R�pertoire d'accueil de l'utilisateur = C:\Documents and Settings\dbabin
    c: effacer la fen�tre de la console
    f: finaliser les objets de la file d'attente de finalisation
    g: lib�rer la m�moire
    h: afficher ce message d'aide
    l: vider la liste des chargeurs de classes
    m: imprimer le relev� d'utilisation de la m�moire
    o: d�clencher la consignation
    p: recharger la configuration du proxy
    q: masquer la console
    r: recharger la configuration des politiques
    s: vider les propri�t�s syst�me et d�ploiement
    t: vider la liste des threads
    v: vider la pile des threads
    x: effacer le cache de chargeurs de classes
    0-5: fixer le niveau de tra�age � <n>
    charger : classe a0ce100 introuvable.
    java.lang.ClassNotFoundException: a0ce100
    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
    java.lang.NoClassDefFoundError: JTreeCanvas
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(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 forgot to mention the envrironment.
    Windows 2000 SP4
    Sun Java Plug-in 1.5.0_02

  • How to reload proxy configuration with Next Generation Java Plug-in

    When using the Next Generation Java Plug-in, I no longer see an option in the console to reload the proxy from the browser by pressing p. If the proxy information is changed in the browser after the Java console loads, is there a way to reload the proxy from the browser? If not, why was it removed?
    It's been useful to us because of the way we test with LoadRunner, which uses a proxy. Our other options are to either disable the Next Generation Java Plug-in so the option comes back, or set the proxy in the Java settings instead of trying to read from the browser, but I'm trying to find out it's one of those will be necessary.
    We're using Java 1.6.0_17. Thanks!

    btenney,
    Thanks very much for your suggestion. Can you explain what the parameters are on the ssvagent.exe that you noted -high -jpisetup -old? I can't seem to find any information on the parameters. Also, will this set the configuration just for the user logged on (current user) OR for all users existing and future?
    We are having trouble getting next-gen java shut off for all possible users that may logon to a machine in future .. thus looking at putting in bootup login script, but hoping there is a better way to have it take affect at the machine level. Or to at least automate at the user level (existing and future windows users/profiles)

Maybe you are looking for