• 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

JNLP and Java Web Start

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
mitrship gupta
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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

Cheers, Jared.
 
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic