Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

$USER_HOME variable not working in Java7u55 deployment.properties file.

2795254Mar 13 2015 — edited Mar 13 2015

I'm trying to setup a separate cache directory for an AppV Java 7u55 package. In the deployment.properties file I created the following entry:

deployment.user.cachedir=$USER_HOME\\AppData\\LocalLow\\Sun\\Java\\Deployment\\Java7cache

But upon initiating an application I do not see the folder created and populated with cache data. This is what I see in the Java7 control panel for the cache path after my edit:

Java7cachepath.PNG

My question, is $USER_HOME still a valid variable for use in the deployment.properties file and if so what is the path that it points to?

UPDATE: So I did find where at least for me this path led to on my desktop a directory called $USER_HOME was created with the rest of the above location following it. Is this correct?

How can I my current setup deployment.user.cachedir=$USER_HOME to go to this location: C:\users\<user account>\AppData\LocalLow\Sun\Java\Deployment\Java7cache\ ???

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 10 2015
Added on Mar 13 2015
0 comments
896 views