Skip to main content

System cache - I must be stupid

1 reply [Last post]
colebatchd
Offline
Joined: 2004-06-29
Points: 0

I don't seem to be able to make this work. I have a JNLP file that looks like:

<?xml version="1.0" encoding="utf-8"?>

My Application
My company

My Application version 2
My Application V2
My Application V2

However when I try to install this in the system cache it still installs in the user cache. I've tried creating a deployment.properties in c:\windows\sun\Java\Deployment\ as described http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pr... but I still get the user cache being updated. I have full admin rights on my pc which is windows xp sp1.

As per the other thread I've added offline-allowed but that didn't make any difference.

If someone would be so kind as to tell me how they've had _any_ success with system cache (not withstanding update limitations) I'd be grateful.

cheers
dim

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
colebatchd
Offline
Joined: 2004-06-29
Points: 0

My problem was that I was specifying a path rather than a URL for the system wide properties. All I'm trying to do is make a CD that installs for "all users" - as such I've now created a C:\WINDOWS\Sun\Java\Deployment\deployment.config file that has:

deployment.system.config=file:/C:/WINDOWS/Sun/Java/Deployment/deployment.properties
deployment.system.config.mandatory=true

The deployment.properties has:

deployment.system.cachedir=C:\\Documents and Settings\\All Users\\Application Data\\Sun\\Java\\Deployment\\cache

And this now seems to work ok.

cheers
dim