Automating Java settings on install

Caporegime
Joined
25 Jul 2003
Posts
40,134
Location
FR+UK
Hi,

Just wondering if anyone has any experience of this using a batch file install (silent switch, reboot suppress, accept eula etc) from SCCM2007.

I am trying to find how to automate disabling (but not removing) older versions of java, which I can manually do in the java cpanel:

123r78j.jpg


by un-ticking the version. Does anyone have any ideas or solutions?
 
Caporegime
OP
Joined
25 Jul 2003
Posts
40,134
Location
FR+UK

Cheers for the link but I've followed lots of varying oracle documentation and I can't find the settings I'm after. I have had some play after digging around stack overflow with the user configuration file in %appdata%\locallow\ etc, but this is a per user file not global. I'll continue to dig.

Procmon is a good shout I'll have a play..
 
Caporegime
OP
Joined
25 Jul 2003
Posts
40,134
Location
FR+UK
Ok I've had some success running a deployment configuration file.

Code:
#deployment.properties
#Mon Nov 17 17:00:48 CET 2014
deployment.security.level=medium
deployment.autodownload=never
deployment.insecure.jres=never
deployment.expiration.check.enabled=false
deployment.security.mixcode=disable
#Proxy settings
deployment.proxy.type=1
deployment.proxy.http.host=proxy.com
deployment.proxy.http.port=8080
#Misc
deployment.version=8
deployment.capture.mime.types=true
install.disable.sponsor.offers=false
deployment.javaws.shortcut=never
#Trusted sites
deployment.user.security.exception.sites=C\:/WINDOWS/Sun/Java/Deployment/exception.sites

However I want to force acceptance of all applets from a particular domain (I know its a security risk), but haven't yet figured it out. Still, getting there..
 
Back
Top Bottom