aspose file tools*
The moose likes JNLP and Web Start and the fly likes JNLP and Java Web Start 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 "JNLP and Java Web Start" Watch "JNLP and Java Web Start" New topic
Author

JNLP and Java Web Start

mitrship gupta
Greenhorn

Joined: Jul 25, 2005
Posts: 7
hi to all
as i know java web start installs automatically with jre 1.5. but for earlier version u have to seperately install java web start.
i have a developed application using jnlp. now wht will happen if i run this applciation on machine on which jre1.3 is installed but not java web start???
is there any way i can ensure my application runs on any machine with jre installed???
can i make my application download and install java web start if its not available on comp??
thanks in advance
Saurabh
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Originally posted by mitrship gupta:
hi to all
as i know java web start installs automatically with jre 1.5. but for earlier version u have to seperately install java web start.


It installs as standard with 1.4 too, but 1.3 may be a problem like you say.


i have a developed application using jnlp. now wht will happen if i run this applciation on machine on which jre1.3 is installed but not java web start???


I suspect nothing will happen. The machine won't know that this file should be launched with webstart because webstart is not installed.

A tough situation to be in. You need some kind of webstart installed in order to get an application running or installed through a .jnlp file.

Maybe others have some suggestions.

Cheers, Jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
mitrship gupta
Greenhorn

Joined: Jul 25, 2005
Posts: 7
thanks for the help
i found that there is a way
detect the browser
run java web start dedection script(browser dependent)
install if not

saurabh
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

Originally posted by mitrship gupta:
i found that there is a way
detect the browser
run java web start dedection script(browser dependent)
install if not


Cool. Can you post the script in a 'code' block so that we can all see for future reference?

Cheers, Jared.
Ed Ewing
Greenhorn

Joined: Aug 30, 2005
Posts: 29
Instructions on detecting the presence of WebStart are available on Sun's page:

http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/launch.html

That script seems good at detecting whether WebStart is installed or not. I'm not sure I like their instructions on how to auto-install WebStart if it isn't installed.
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

Thanks for the link. I'll check it out sometime.

Cheers, Jared.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNLP and Java Web Start