Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom location for the installation of App using JWS

 
Shake Sajan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I was trying to use JWS for installing my java application automatically. I see that every time the application is installed to a particular location in the user profile. I know that for the second time installation of the same application, the existing app would be auto updated to same location.

Is there any way to change the install location for the application installation. Probably to change from the user profile location (C:\Documents and Settings\User\...) to any other user provided location (D:\MyApp\). So this will help me to install the multiple versions of same application in multiple location.

As per my understanding, I think this cannot be achieved by changing the Java Cache Location as all the time apps would be installed into the updated location.

Hope I put across my question (requirement) in a clear way. This might sound crazy, but still I have such requirement !!!

I see a similar thread with subject "Setting custom location for Java WS cache" unanswered.

Appreciate any and all responses...
Thanks in Advance..
 
sourabh girdhar
Ranch Hand
Posts: 71
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Go to Control Panel --> Java. there you can see section "Temporary Internet Files". Click settings and there you can specify the new location for storing jws based cache files...

Cheers for this...

But I don't think you should be able to customize entries under that folder. JWS uses some number based internal structure which is very hard to decode/debug.
confused for this if you could go one level deep of customization.
 
Andrew Thompson
Ranch Hand
Posts: 77
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shake Sajan wrote:..
Is there any way to change the install location for the application installation. Probably to change from the user profile location (C:\Documents and Settings\User\...) to any other user provided location (D:\MyApp\). So this will help me to install the multiple versions of same application in multiple location.


Give the application JNLP href's by version. E.G. http://www.our.com/apps/theapp-v-3.1.1.jnlp

As an aside, please ignore the advice to change the location of the Java cache manually. That would break other installed Java applications.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic