• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic