• 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
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Web Start and startup folder

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I've written a jnlp app, The thing is, I want it to launch automatically on startup of the users computer. How can i specify maybe in the jnlp file that the application should run on startup . Thanks.
 
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 guess just put a launch command in the startup batch file that your computer runs. Will be different for both windows and *nix.

Something like:

javaws <yourjnlpfile>

You will have to do some investigating to get the exact thing right.

Cheers, Jared.
[ February 25, 2005: Message edited by: Jared Cope ]
 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply Jared. Actually I figured out the answer , for windows machines running jre 1.5 anyway.
Just put the shortcut tag in the jnlp file like this:

<shortcut online="false">
<desktop/>
<menu submenu="Startup"/>
</shortcut>

So it installs the program in the startup folder in program files.
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic