I’m using PolicyPak Java Rules Manager, but I still get Java prompts when visiting a webpage, or attempting to run a Java applet. What can I do?

First, Java Applets work in Internet Explorer and in Firefox. They do not work in Chrome or Microsoft Edge.

Second, there are messages which apply to:

  1. Firefox AND Internet Explorer (Generic Java messages; which could apply to either browser.)
  2. Firefox specifically and
  3. Internet Explorer specifically

Type 1: Messages for both Firefox and Internet Explorer

If you see a message “Application Blocked by Java Security” (like what is seen below) and you want to automate and work around this message; you can try to add the site to the Java Exceptions Site list.

im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-0

The fastest way to automate this is with PolicyPak Application Settings Manager’s Java Paks (any of them starting with Java 7 U 25 have this feature). The video is here.

Other Java prompts you might encounter, which PolicyPak Application Settings Manager can overcome are:

  • “Java has discovered application components that could indicate a security concern.”
  • “Your Java Version if out of date”
  • “Your Java Version is insecure”
  • “Do you want to run this application”
  • To see exactly how to work around these prompts, see https://www.policypak.com/support-sharing/preconfigured-paks.html and look for the KB articles which start with the word “Java:”

    Type 2: Java Messages specifically found in Firefox

    When an end user sees a Java applet on a website, they are asked to Activate Java.

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-1

    Then they are asked to “Allow Now” or “Allow and Remember”.

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-2

    The fastest way to automate “Allow and Remember” for Firefox per website is to read and follow this KB: https://www.policypak.com/knowledge-base/preconfigured-paks/how-do-i-set-allow-now-allow-and-remember-or-block-plugin-as-plug-ins-are-requested.html

    Type 3: Java Messages Specifically Found in Internet Explorer

    IE Message 1:

    ”This webpage wants to run “Java™ Platform SE binary’ which isn’t compatible with Internet Explorer’s enhanced security features. If you trust this site, you can disable Enhanced Protected Mode for this site and allow the control to run.”

    The message can be seen below.

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-3

    Or this occurs…

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-4

    This message occurs when these items are set manually or with Group Policy:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-5

    The way to remove the prompt when running the Java applet is the make the site a Trusted Site in IE. You can do this manually in IE like this:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-6

    Or using PolicyPak Application Settings Manager like this:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-7

    Or use PolicyPak Application Settings Manager to merge your site with what the user already has:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-8

    IE Message 2:

    “This program will open outside of Protected mode. Interent Explorer’s Protected mode helps protect your computer. If you do not trust this website, do not open this program.”

    Name: icacls.exe
    Publisher: Microsoft Windows

    The message can be seen as below:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-9

    You get this specific prompt when these are set manually or via Group Policy / PolicyPak:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-10

    You can automatically make this prompt never occur again (automatically) using Group Policy Preferences:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{0F31AF05-4595-4736-BEF3-80ABE79E9211}

    And set the following values:

    Registry Values Type Description
    AppName REG_SZ Icacls.exe  
    AppPath REG_SZ C:\Windows\SysWOW64  
    Policy REG_DWord 3  

    Like this:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-11

    Result:You no longer get the prompt for iCacls, but the Java applet will not run.

    IE Message 3:

    “This program will open outside of Protected mode. Interent Explorer’s Protected mode helps protect your computer. If you do not trust this website, do not open this program.”

    Name: Java SE Runntime Environment 8 Update…
    Publisher: Oracle America, Inc.

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-12

    You see this message when these are set like this manually or using Group Policy / PolicyPak:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-13

    You can automatically make this prompt never occur again (automatically) using Group Policy Preferences:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{GUID}

    Where {GUID} is GUID for @the latest version of Java on your machine

    And set the following values:

    Registry Values Type Description Notes
    AppName REG_SZ jp2launcher.exe  
    AppPath REG_SZ C:\Program Files (x86)\Java\jre1.8.0_111\bin Or whatever the path to the latest version of Java is
    Policy REG_DWord 3  

    Like this:

    im-using-policypak-java-rules-manager-but-i-still-get-java-prompts-when-visiting-a-webpage-or-attempting-to-run-a-java-applet-what-can-i-do-14

    Result: The Java applet is ALLOWED.