Can you post the content of the deployment.config and deployment.properties?
The config should be similar to
The properties like follows:
Here is the deployment.config:
And the deployment.properties:
At the first view I can't see any syntax error.
What is the main problem running your applet? Is it possible that the mixcode feature is the main problem?
Did you try to change the settings in the control panel?
Basically, I work for a school district and a portion of a web application that our teachers use runs on Java. This application will most of the time stop working with new updates of Java until they can patch it, which could take weeks or months. We have our systems locked down so users cannot update Java, but in the newer versions of Java they have been getting the warning messages about Java being out of date. Most of our users are not very tech savvy so this message confused them and caused a huge influx of help desk calls. We want to prevent that message from ever displaying. I was hoping that if I use deployment.properties, it would do these two things (or at least #2):
- Apply those settings when Java is installed
- Apply those settings when the web application is launched
It's possible that it applies those settings when Java is installed, but the problem is that those settings are per user and not system-wide. It is definitely not applying the settings when the web application is launched because users are instantly getting the warning messages even with deployment.properties and deployment.config sitting C:\Windows\Sun\Java\Deployment. Again, the only time deployment.properties settings get applied is if I open the "Configure Java" applet in Control Panel.
We have multiple users logging on to the same computer every day and it's almost never the same users. We need these settings to apply for every user who has logged into the computer, who is currently logged into the computer, or who will ever log onto the computer in the future. If these settings can be made system-wide that would be fantastic, but in all my testing and reading, all I ever see happen is deployment.properties settings get written to HKEY_CURRENT_USER\Software\AppDataLow\Software\JavaSoft\DeploymentProperties. Is there any way to get these settings system-wide and not per user?
I just banged my head on this for longer than I care to admit... but I might be able to help you.
I was getting hung up on setting up the 'deployment.config' file, and in my case to setup a global policy using Group Policy for my Citrix environment.
No matter what I put in the 'deployment.config' file it just would NOT work... so I finally just got rid of all that and started over.
ALL I did was log on to the server and created a 'deployment.properties' under C:\Windows\Sun\Java\Deployment
The contents of said 'deployment.config' were simply:
Again all the Oracle doc's and blog posts I read said "you need 'deployment.config' and 'deployment.properties' to make this work... well until I just ditched the 'deployment.config' file NOTHING worked just as you described, but now I am G2G.
For my needs, that's enough... but I'm sure you can expand on that to your hearts content.
I've attached a screen shot below as well... can't hurt.
I really hope that helps you and anybody else who's been banging their head on this one, I am so happy to put this one behind me. Now all I'm going to do is push this file update out via GPO to my relevant systems and move on to the next fire!
#Thu Jan 16 11:20:59 EST 2014
deployment.expiration.check.enabled = false
deployment.expiration.decision.suppression = TRUE
deployment.javaws.autodownload = NEVER
deployment.browser.path=C\:\\Program Files (x86)\\Citrix\\system32\\iexplore.exe
#Java Deployment jre's
#Thu Jan 16 11:20:59 EST 2014
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre7\\bin\\javaw.exe
This is the config we push out. Essentially, we cheat because we copy the file during login process.
Works great on v7.
However, in testing V8, it seems that as soon as Java starts running, it modifies this file and removes the security.level. This means that an app ALL of my users use stops working.