• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

More of a browser question really

 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apologies, but this is more of a browser question really, but I thought I'd try here first
I have inherited code to decide if support for JNLP files is enabled for a specific browser, which was originally copied from the Sun website - that is:

Our target browser is IE, so we actually only use the VBScript portion of this code. 99% of the time, it works fine. However on one NT platform, the administrator installed Web Start, and now it appears that when a normal user clicks on my link, the browser doesn't seem to think Web Start is installed. Has anyone else seen this? If so, is there a better method to test for the presence of JNLP support?
Thanks in advance, Neil :roll:
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nudge, nudge :roll:
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm, not really sure what the issue is. The sample code you posted is from here:
http://java.sun.com/products/javawebstart/docs/developersguide.html#website
I don't know if you have that link already.
I wonder if it could be as simple as a registry setting? How was java installed? Did you install the runtime version, or the full JDK version? I think if you install the full JDK it doesn't tweak any registry settings on NT ( but I could be wrong) .
Here's the webstart faq as well:
http://java.sun.com/products/javawebstart/faq.html
Sorry I can't be more helpful.
 
Hema Menon
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Neil Laurance:
However on one NT platform, the administrator installed Web Start, and now it appears that when a normal user clicks on my link, the browser doesn't seem to think Web Start is installed. Has anyone else seen this? If so, is there a better method to test for the presence of JNLP support?
Thanks in advance, Neil :roll:

Check the filetypes to see if jnlp is associated with "javaws" application. Make sure that webstart is in the path, so that it can be launched. I've be running my webstart applications in win98, win2000 & winnt. Haven't come across the issue yet.
Thanks,
Hema
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the links Rob. It looks like it is definitely some sort of registry problem. However I was hoping there was some way of listing the supported mime types for IE, which might be a more reliable test to see if web start is installed?
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, the JNLP file type is there, and linked to javaws. I think I will have to put this down to 'Administrator Error'
 
Neil Laurance
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following security settings needed changing:
Run ActiveX controls and plug-ins
[ ] Administrator approved
[ ] Disable
[x] Enable
[ ] Prompt
Script ActiveX controls marked safe for scripting
[ ] Disable
[x] Enable
[ ] Prompt
Cheers, Neil
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic