I'm trying to update some self serve kiosks in our corporation. I'm currently testing with Java 7u11 as that was the current version when I began the initial setup. I plan on updating to the latest version before I move the new machines out to prod. The problem I am having is that I am getting the "your version of java is insecure" prompts. These kiosks run a restricted local user account, and will be customer facing, so having these prompts appear is not acceptable. I realize updating to the latest version will stop the prompts from appearing.... at least for a few days until another version is released.
The problem is that when these prompts appear, it has the potential to break the kiosks since the logged in account has NO ability to install anything. The machines are so locked down that you need to run a special tool to unlock them in order to update anything, so I can't even push Java updates via SMS without breaking the machines,
I am using a deployment.config, and deployment.properties file for configuration, but I cant seem to make it suppress the prompt. This is a game breaker. If I can't find a way to work with this, we will have to look at migrating all of our Java based apps over to something else.
Thanks for the link. Unfortunately none of those solutions worked for me.
Its sort of ridiculous that these prompts even show up when logged in with non-admin accounts. The worst bit is if a user hits the Update button, and can't complete the update due to not being admin, every time that a java app tries to load, it redirects the user to the download page for Java.
To prevent prompting for "Your version of Java is insecure":
Its depend what way are you using to configure Java.
You can add properties listed below to your configuration file (per-user, per-machine) or registry keys.
The solution is to add two rows (entries): deployment.expiration.decision=NEVER deployment.expiration.decision.suppression=true
In our company per-machine deployment.properties file is used (c:\windows\sun\java\deployment\deployment.properties)
And it is working.
I tried adding the options you mention. I get a different prompt now. It's still a Java is insecure message, but a different window this time. I have the options of Update, Block, or Later with a checkbox to not ask again until the next update.
This is what I have in the config file... perhaps some settings are conflicting?
There aren't any conflicting settings, maybe you should delete user config file (c:\Users\%username%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties).
This works on clean installation, maybe some properties are applied from user config file.
You will be asked only to run java applet cause security level is set (this is configured by editing security level to custom + without prompting)
I've also tried this with no luck. I delete the deployment.properties from C:\Documents and Settings\user\Application Data\Sun\Java\Deployment - then add the deployment.properties into the C:\WINDOWS\Sun\Java\Deployment folder. For whatever reason it doesn't seem to work correct - because I get the prompts and the deployment.properties (auto-generated) show up in C:\Documents and Settings\user\Application Data\Sun\Java\Deployment again.
It is not enough to put only deployment.properties into C:\WINDOWS\Sun\Java\Deployment..
You should also read how to set system level properties.
And then use my tip
I'm currently Testing Java 7 Update 11. I have test with given setting in my environment but none of it work. It still prompt's for Java insecure for 7 update 11. It really make me Mad on Java. Is there any new finding for this issue.