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

Deployment path on a client (ex. C:\MyAppDir)

 
Seid Myadiyev
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends,

Is it possible to specify local path (ex. C:\MyAppDir) on a client into which my application is to be downloaded/deployed by the Java Web Start?
If yes, how do I achive that? Does it have something to do with turning off the �sandbox� and/or JAR signing?

Thank you in advance!
Seid
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would say not easily, and not without lots of fiddling.

We maintain a webstart application in our organisation that gets deployed to everyone's desktop. Our app depends on some data within files. We package these files in the jar that gets downloaded from webstart and when the application starts up, some of the initialisation code that we wrote copies those files to a local directory on C:\ (overwriting previous copies).

You might be able to get the code to copy itself (that is, the .jar file) to a local directory on startup ...

The other way to do it is to specify the java webstart cache location through the webstart application manager (file-preferences-advanced). But this means that you need to do it for all your users (for standardisation).

Cheers, Jared.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic