• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Start and startup folder

 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • 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.
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic