Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jnlp doesn't load in google chrome

 
Zohaib Hasan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my first post in javaranch and I am hoping for some good help.
I made a java swing app and I am launching it through Java Web Start.
It works in IE and firefox but in google chrome instead of launching javaws it saves the jnlp file.
I tried changing the settings in chrome with all efforts in vain.
FYI: the extension of my jnlp file is .jsp because I am embedding jnlp tags in jsp.
Please somebody tell me what should i do so that my app launches in all the browsers.

Thanks
Zohaib Hasan
 
samrat dhamale
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is java plugin enabled in google chrome?
 
Zohaib Hasan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for responding samrat.
I checked, java plugin is enabled in chrome.
I went to about:plugins and saw that following plugin is enabled

Java 6 (2 files) - Version: 6.0.240.7
NPRuntime Script Plug-in Library for Java(TM) Deploy


Thanks
Zohaib Hasan

 
Todd Reser
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just ran into a similar problem. In my case it seems the update to Java 7, then removal of Java 6 made Windows go stupid.

Both Chrome and Internet Exploder couldn't launch any JSP or JNLP.

After navigating to a JNLP and JSP page in Chrome, I had to click the button to "browse for a program" to run a ".JSP" and for ".JNLP" and point it to "C:\Program Files (x86)\Java\jre7\bin\javaws"

This fixed my problem, and hopefully might help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic