GeeCON Prague 2014*
The moose likes JNLP and Web Start and the fly likes Custom location for the installation of App using JWS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Custom location for the installation of App using JWS" Watch "Custom location for the installation of App using JWS" New topic
Author

Custom location for the installation of App using JWS

Shake Sajan
Greenhorn

Joined: Sep 29, 2009
Posts: 13
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

Joined: Feb 10, 2010
Posts: 71

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.


SCJP SCWCD AIX SOA
The significant problems we face cannot be solved by the same level of thinking that created them -- Albert Einstein

Andrew Thompson
Ranch Hand

Joined: Aug 05, 2010
Posts: 77
    
    5
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.


Andrew Thompson
http://pscode.org/
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Custom location for the installation of App using JWS