Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java 8 in corporate environment how to disable pop up "Do you want to run this application"

andygspMar 1 2017 — edited Mar 2 2017

Background:
In our corporate environment we are shortly going to be deploying an application (served by Weblogic) which has several Java 1.8 applets on various pages in the application (we previously used Java 1.6 which does not have this pop-up).  As you know Java 1.8 requires users to click Yes when a pop up appears for the first time when running a signed application asking "Do you want to run this application" (and a check-box for disabling future prompts for the applet).

I can understand the need for this on end-user desktops when running apps from the internet.  But in a corporate environment where you already do trust the entire application and all applets and they are all validly signed, this pop-up is confusing and unnecessary and there should be a mechanism to disable this for certain URL's rather than depend on each user to click the checkbox on every screen every time the applet is run.

Question:

Surely there is a way to disable this pop-up for corporate application users?  I've searched a lot and have not come up with a solution, though I did see one vague mention of "Java Rich Internet Applications Guide > Security > Deployment Rule Set " but I don't know anything about this.  Even pre-populating the "Exception Site List" via Group Policy does not solve this problem, it still pops up that screen for every applet screen, which is infuriating.  Does anyone know of a way around this problem.  (We are specifically using Java 1.8.0_66-b17 & Windows 7).  Please help.

-AG

Comments

archie172
On second thought, this really seems like a functional bug rather than a documentation bug. Why shouldn't SecondaryCursor.dup(false) succeed when the cursor is not initialized?
archie172
Patch to fix.... ?
--- bdb/com/sleepycat/je/SecondaryCursor.java   2008-06-10 10:52:08.000000000 -0500
+++ src/java/com/sleepycat/je/SecondaryCursor.java      2009-02-24 12:11:56.531382458 -0600
@@ -117,7 +117,7 @@
     public Cursor dup(boolean samePosition)
         throws DatabaseException {

-        checkState(true);
+        checkState(false);
         return new SecondaryCursor(this, samePosition);
     }
Edited by: archie172 on Feb 24, 2009 10:53 AM (added better code formatting)
524761
archie172 wrote:

P.S. when is this forum going to add a pre-formatted (fixed-width) text option?
You mean like this?
diff -r 671c95c08dd4 src/com/sleepycat/je/SecondaryCursor.java
--- a/src/com/sleepycat/je/SecondaryCursor.java
+++ b/src/com/sleepycat/je/SecondaryCursor.java
@@ -117,7 +117,7 @@
     public Cursor dup(boolean samePosition)
         throws DatabaseException {
 
-        checkState(true);
+        checkState(false);
         return new SecondaryCursor(this, samePosition);
     }
 
Please see the forum FAQ.
Greybird-Oracle
Answer
Archie,

Yes and yes -- this is a bug and that is the correct fix.

Thanks!! We'll fix this in the next patch release.

--mark
Marked as Answer by archie172 · Sep 27 2020
1 - 4

Post Details

Added on Mar 1 2017
2 comments
17,695 views