Re: Issue 10877 in chromium: Chrome does not launch Java automatically for JNLP resources

25,887 views
Skip to first unread message

chro...@googlecode.com

unread,
Feb 2, 2010, 6:20:17 AM2/2/10
to chromi...@chromium.org

Comment #28 on issue 10877 by y.dmitry: Chrome does not launch Java
automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

I just successfully used jnpl with my client-bank software. Chromium
4.0.266.0 under
linux.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Feb 15, 2010, 6:57:54 AM2/15/10
to chromi...@chromium.org

Comment #29 on issue 10877 by rnevet: Chrome does not launch Java

Still not working Google chrome version 4.0.249.89 unknown (38071).

Google! Java isn't going away, fix this.

chro...@googlecode.com

unread,
Mar 12, 2010, 1:14:29 PM3/12/10
to chromi...@chromium.org

Comment #30 on issue 10877 by alex.pinder86: Chrome does not launch Java

Chrome version 5.0.307.11 beta using Ubuntu Linux - same issue. Had to
publish a
message asking users of my site to not use Chrome if they want to use my
site
properly.

I can't imagine this being a complex bug to fix because a) it's easily
reproducible
and b) associating JWS with a specific mime-type/extension is, from an
outside
perspective, not too cumbersome.

chro...@googlecode.com

unread,
Apr 30, 2010, 7:31:43 AM4/30/10
to chromi...@chromium.org

Comment #32 on issue 10877 by nalyat: Chrome does not launch Java
ok, after a bit of search, I fixed this problem..

basically you have to tell the application launcher how to handle the
mime-type
application/x-java-jnlp-file. chrome uses xdg-open to launch the
applications, and
the application - mime type matching is made through xdg-mime.

you can use the attached file to manage this:

> xdg-mime install java-jnlp.xdg.xml

the xml file contains the *.jnlp.php, for dynamically launching jnlps.
Add/remove
more extensions as you please.




Attachments:
java-jnlp.xdg.xml 319 bytes

--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs

chro...@googlecode.com

unread,
Apr 30, 2010, 7:39:55 AM4/30/10
to chromi...@chromium.org

Comment #33 on issue 10877 by nalyat: Chrome does not launch Java
above works for ubuntu, and probably other linuxes

chro...@googlecode.com

unread,
May 11, 2010, 1:16:01 AM5/11/10
to chromi...@chromium.org

Comment #34 on issue 10877 by andre.ocosta: Chrome does not launch Java
It didn't work on Fedora 12 :-( The "xdg-mime install" command ran
just fine, and "xdg-mime query filetype somefile.jnlp" returns
application/x-java-jnlp-file as expected. However, gedit is still
the preferred to open .jnlp files.

I found sun-javaws.desktop under the jre/lib/desktop/applications,
and I ran

xdg-mime default /usr/java/latest/jre/lib/desktop/applications/sun-
javaws.desktop application/x-java-jnlp-file

and now

xdg-mime query default application/x-java-jnlp-file

returns

/usr/java/latest/jre/lib/desktop/applications/sun-javaws.desktop

However, "xdg-open somefile.jnlp" still opens gedit. Could this be
related to the fact that "file somefile.jnlp" returns "XML document
text"? Any additional tips?

chro...@googlecode.com

unread,
May 12, 2010, 9:46:58 AM5/12/10
to chromi...@chromium.org

Comment #35 on issue 10877 by pmontelatici: Chrome does not launch Java
I agree, this has to be fixed, it's more than one year old!

chro...@googlecode.com

unread,
Jun 5, 2010, 12:56:30 AM6/5/10
to chromi...@chromium.org

Comment #36 on issue 10877 by HodgeBrad: Chrome does not launch Java

Please fix this on OS X! It is REALLY annoying!

chro...@googlecode.com

unread,
Jun 22, 2010, 9:44:30 PM6/22/10
to chromi...@chromium.org

Comment #39 on issue 10877 by martin.nedbal: Chrome does not launch Java

I would really appreciate if this could be fixed.

chro...@googlecode.com

unread,
Jun 25, 2010, 11:05:07 AM6/25/10
to chromi...@chromium.org

Comment #40 on issue 10877 by andre.ocosta: Chrome does not launch Java

I guess I finally found out how to "fix" this, at least on Fedora 13
(credit goes to an answer on Fedora ML). It seems to be a GNOME bug after
all.

If you try to associate JNLP files to javaws by

right-click on the file > Open With > Another Application ... > javaws

and checking "Remember this application ...", it doesn't work (next time
you double-click the file it will open with gedit).

BUT if you set file association by

right-click > Permissions > Open With tab > javaws

it *DOES* work, file association sticks. If you open a JNLP file through
Chrome, it will work =)

chro...@googlecode.com

unread,
Jul 3, 2010, 2:48:52 AM7/3/10
to chromi...@chromium.org

Comment #43 on issue 10877 by aimran50: Chrome does not launch Java

My users are having a problem too! goto http://www.binfer.com/download and
click on the Web Launcher button, Chrome downloads the jnlp file and does
nothing. Many users assume the app doesn't work and abandon it. I am going
to advice my users NOT to use Chrome to run the app.


chro...@googlecode.com

unread,
Jul 3, 2010, 9:11:44 AM7/3/10
to chromi...@chromium.org

Comment #44 on issue 10877 by andre.ocosta: Chrome does not launch Java

@aimran50 : I just tried your URL and, at least here on Fedora 13, the
modifications detailed on comment #40 made it work as expected (the JNLP
file was automatically executed by javaws).

chro...@googlecode.com

unread,
Jul 3, 2010, 3:58:25 PM7/3/10
to chromi...@chromium.org

Comment #45 on issue 10877 by rnevet: Chrome does not launch Java

@andre.ocosta does that really sound like a User friendly support for jnlp ?

This bug is annoying as hell, Chorme is basically not a java friendly
browser if they don't support auto opening of JNLP cross platform.

IT call:
User: I'm pressing the link and your app doesn't start.
Tech: What browser?
User: Chrom.
Tech: We don't support Chrom, Use another browser please.

End of story.

chro...@googlecode.com

unread,
Aug 11, 2010, 10:52:42 AM8/11/10
to chromi...@chromium.org

Comment #48 on issue 10877 by thomas.poindessous: Chrome does not launch

Please add application/x-java-jnlp-file to mimetypes supported by chrome.

I can't use cisco web start as it tests for mimetype :


<script type="text/javascript">
<!--
var appName = "";
var isWindowsOS = (navigator.userAgent.indexOf("Windows") >= 0);

var javawsInstalled = 0;
isIE = "false";

if (isWindowsOS) {
if (navigator.mimeTypes && navigator.mimeTypes.length) {
mimeEntry = navigator.mimeTypes['application/x-java-jnlp-file'];
if (mimeEntry) {
javawsInstalled = 1;
}
} else {
isIE = "true";
}
} else {
javawsInstalled = 1;
}
//-->
</script>


chro...@googlecode.com

unread,
Aug 19, 2010, 8:44:39 AM8/19/10
to chromi...@chromium.org

Comment #50 on issue 10877 by glassknife2141: Chrome does not launch Java

Using chrome 5.0.375.126 on Windows XP. JNLP files should launch, and
because they don't, this is a deal breaker. I have been using this browser
for a while now, and was ready to suggest a switch at work, but without
Java, I will not.

It can't be that hard. What happened to that "don't be evil" mission
statement?

chro...@googlecode.com

unread,
Aug 25, 2010, 3:43:27 AM8/25/10
to chromi...@chromium.org

Comment #51 on issue 10877 by sunilmnambiar: Chrome does not launch Java

It is more than a year this bug is reported, no action from Google! Is
Google moving away from developers?

chro...@googlecode.com

unread,
Sep 3, 2010, 11:43:15 PM9/3/10
to chromi...@chromium.org

Comment #53 on issue 10877 by Sean.Spicer: Chrome does not launch Java

Google has the same problem with both Java WebStart and Microsoft's
ClickOnce. Google Developers, if you read this: Java WebStart and
Microsoft ClickOnce are accepted standards. You must support these if
Chrome is to be a standards based browser. Otherwise, you're just being
anticompetitive. I say this as a neutral 3rd party ISV - I just want my
apps (both WebStart & ClickOnce) to be supported properly on all browsers.

chro...@googlecode.com

unread,
Sep 4, 2010, 6:34:40 PM9/4/10
to chromi...@chromium.org

Comment #54 on issue 10877 by kean.johnston: Chrome does not launch Java

The really sad thing about this bug is that there are people who really want
to fix it and get absolutely nowhere with some of the chromium developers. I
bought Visual Studio primarily so I could start compiling chromium on
Windows to work on this bug (as well as getting into Windows programming). I
started an initial debate with the people I was told to. I drew up a design
document, it was discussed - by all except the one person who seems to be
responsible for making the decision. Nearly a month has passed since he was
asked to give the go-ahead on or comment on the proposal, and nothing. It
seems there are only 1 or two people who can have the final say on anything
that impacts the UI, and they are either completely overloaded or completely
disinterested in helping the community at large and only work on the stuff
thats in front of them, instead of giving developers such as myself a bit of
leeway or encouragement to help them help make chromium a better product. I
find it quite sad really.

So for the myriad number of people that this affects, don't hold your
breath. Alternately, I may just go ahead and fix this on my own branch of
the code and I will post builds from that branch which people can either
use, or not, as they see fit.

chro...@googlecode.com

unread,
Sep 19, 2010, 9:49:20 AM9/19/10
to chromi...@chromium.org

Comment #55 on issue 10877 by VoteNinjaParty: Chrome does not launch Java

Like someone else noted, I'm trying to use Google's own App Inventor in
Chrome and can't because of this issue. I switched to Chrome full time a
couple months back, but if you REALLY want me to use another browser, I'll
go back to Firefox. PLEASE FIX.

chro...@googlecode.com

unread,
Sep 24, 2010, 6:59:02 PM9/24/10
to chromi...@chromium.org

Comment #57 on issue 10877 by tgarancsi: Chrome does not launch Java
To get Google Chrome to open the file automatically with Java runtime,
simply click to download the file and click the “Down Arrow” next to the
file and select “Always open files of this type”. This should make Google
Chrome launch the file automatically the next time you click on URLS launch
JNLP files.

This worked for me on Windows.

chro...@googlecode.com

unread,
Sep 24, 2010, 7:51:44 PM9/24/10
to chromi...@chromium.org

Comment #58 on issue 10877 by andre.ocosta: Chrome does not launch Java

It doesn't work as expected on Linux, but it seems to be due to some weird
GNOME bug (see comment #40), at least on Fedora 13 and Ubuntu 10.04 (which
both use GNOME 2.30.x).

chro...@googlecode.com

unread,
Sep 24, 2010, 10:26:26 PM9/24/10
to chromi...@chromium.org

Comment #59 on issue 10877 by Jason.Kodat: Chrome does not launch Java

Also discovered the bug when trying to test App Inventor.

chro...@googlecode.com

unread,
Sep 26, 2010, 5:28:02 PM9/26/10
to chromi...@chromium.org

Comment #60 on issue 10877 by j.chubbuck: Chrome does not launch Java

Yeap same as many above, Google App Inventor / Chrome will NOT be used
together by many people when other more popular browsers (firefox) work as
expected.
If you cant be bothered to fix it at least post a simple work around...

chro...@googlecode.com

unread,
Sep 27, 2010, 5:00:00 PM9/27/10
to chromi...@chromium.org

Comment #61 on issue 10877 by phlogi1: Chrome does not launch Java

Should the app be opened standalone or just inside browser? You can easily
run it with "javaws file.jnlp" btw.

chro...@googlecode.com

unread,
Sep 27, 2010, 11:49:19 PM9/27/10
to chromi...@chromium.org

Comment #63 on issue 10877 by sunilmnambiar: Chrome does not launch Java

@phlogi1, we are application developers and Java Web Start is a platform
developed by Sun to distribute Java applications. All Java developers knows
how to run a Java WS app, but not the end users.

chro...@googlecode.com

unread,
Oct 8, 2010, 7:07:07 PM10/8/10
to chromi...@chromium.org

Comment #64 on issue 10877 by jmmcreynolds: Chrome does not launch Java

@tgarancsi, works like a charm, thanks! Just download the file and once it
has downloaded, click the arrow next to it (on the download bar at the
bottom) and choose "Always open files of this type". Ran into this when
trying to get App Inventor setup.

chro...@googlecode.com

unread,
Oct 8, 2010, 7:15:23 PM10/8/10
to chromi...@chromium.org

Comment #65 on issue 10877 by jmmcreynolds: Chrome does not launch Java

@tgarancsi, works like a charm, thanks! Just download the file and once it
has downloaded, click the arrow next to it (on the download bar at the

bottom) and choose "Always open files of this type". Pretty easy once you
know how, but it can be a pain in the butt if you don't know how. Should be
a little easier to figure out though. Ran into this when trying to get App
Inventor setup.

chro...@googlecode.com

unread,
Oct 9, 2010, 11:55:48 AM10/9/10
to chromi...@chromium.org

Comment #67 on issue 10877 by grshiplett: Chrome does not launch Java

I am also unable to get Chrome on linux to launch Curl applets ( Curl as in
www.curl.com and not cURL)

Curl applets had been an alternative to Gears and JavaFX - but used mostly
in a few corp's in Japan and discretely elsewhere in some large corp's (
clients of Thomson Reuters Tax div GRC customers via acquisition of
paisley.com of MN, USA)

Curl in Japan (curlap.com) has work underway on a Java ORB so this issue in
Chrome on linux is annoying ... - the issue is Linux only TTBOMK

Curl in banking is about as well-kept a secret as VW Smalltalk in banking
prior to some chatter from NY. Smalltalk was big at a telco with some
mobile over-charging issues - it will be amusing if those came from an app
that had replaced Smalltalk ...

Hope these bugs get fixed before Chrome leaves beta ...

chro...@googlecode.com

unread,
Oct 20, 2010, 10:44:48 AM10/20/10
to chromi...@chromium.org

Comment #68 on issue 10877 by larsks: Chrome does not launch Java

This is an issue with Google Chrome 6.0.472.53. Some of our equipment
produces URLs that look like this:


http://.../viewer.jnlp(10.0.3.223@0@idrac-HV00LM1,+PowerEdge+R610,+User-root@1287580593721)

Selecting "Always open files of this type" does nothing because that
appears to be a tool for mapping file extensions. These documents (and
really everything else) need to be identified by MIME type, not file
extension.


chro...@googlecode.com

unread,
Oct 20, 2010, 2:15:15 PM10/20/10
to chromi...@chromium.org

Comment #70 on issue 10877 by supagene: Chrome does not launch Java

I have a feeling that with Oracle suing Google, this probably won't get
fixed any time soon or at all now.
http://news.cnet.com/8301-30684_3-20013546-265.html

chro...@googlecode.com

unread,
Oct 25, 2010, 1:00:25 AM10/25/10
to chromi...@chromium.org

Comment #71 on issue 10877 by olaf.klischat: Chrome does not launch Java

The way I see it, this behavior isn't a Chrome bug, it's rooted in the fact
the Chrome consciously does not manage its own set of file extension ->
launcher application associations. Instead, it relies on the operating
system / desktop environment to provide those associations for it. This
means that you have to configure your system (e.g. Windows or Gnome) such
that it opens .jnlp files with javaws (the webstart launcher). From then
on, Chrome will use that setting and open .jnlp files with javaws (after
clicking "Open" in the download bar, or automatically after you
check "Always open files of this type" there). This is the way to "fix"
this issue. Google cannot really "fix" this themselves because Chrome
deliberately doesn't contain any code that makes (configurable) decisions
on what application to use to run what downloaded files -- they
deliberately use the OS settings for that.


chro...@googlecode.com

unread,
Oct 25, 2010, 1:43:46 AM10/25/10
to chromi...@chromium.org

Comment #72 on issue 10877 by sunilmnambiar: Chrome does not launch Java

@olaf.klischat, have you tried downloading a jnlp file (where a file
association is already there) before making this comment?

chro...@googlecode.com

unread,
Nov 7, 2010, 8:38:12 PM11/7/10
to chromi...@chromium.org

Comment #74 on issue 10877 by hvilla17: Chrome does not launch Java

mis webos

chro...@googlecode.com

unread,
Nov 16, 2010, 12:56:52 AM11/16/10
to chromi...@chromium.org

Comment #76 on issue 10877 by olaf.klischat: Chrome does not launch Java

@sunilmnambiar, yes I have. I use Xubuntu (xfce under Ubuntu 9.10), and I
had to configure the association once in the system (I did it from the file
manager I think, but I don't remember for sure, it's been too long). Chrome
has been opening .jnlp in Webstart automatically ever since.

chro...@googlecode.com

unread,
Nov 16, 2010, 12:51:56 PM11/16/10
to chromi...@chromium.org

Comment #77 on issue 10877 by petelong: Chrome does not launch Java

For Windows users see http://www.petenetlive.com/KB/Article/0000354.htm

Pete

chro...@googlecode.com

unread,
Dec 17, 2010, 3:53:16 AM12/17/10
to chromi...@chromium.org

Comment #84 on issue 10877 by mar...@martindolphin.co.uk: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Having the same issue on Windows 7/Chrome beta release - the option in the
drop down is greyed out for me although starting the app by double-clicking
the jnlp file works - would be a lot more convenient to start directly from
Chrome

chro...@googlecode.com

unread,
Dec 19, 2010, 11:27:05 AM12/19/10
to chromi...@chromium.org

Comment #85 on issue 10877 by gouessej: Chrome does not launch Java

It does not work on Linux :( If you don't fix this bug, I will advise my
users to go back to Firefox!!!! I'm fed up! I have just paid to upload my
game and now I'm stuck.

chro...@googlecode.com

unread,
Dec 20, 2010, 6:50:25 AM12/20/10
to chromi...@chromium.org

Comment #86 on issue 10877 by gouessej: Chrome does not launch Java

I think that I have found a bug fix. I have looked at the source code of
Chromium, especially the MIME handling and there is only one line to add to
fix it :) I will try to commit it. Java rocks, long life to Java and to
free open source softwares!!

chro...@googlecode.com

unread,
Dec 20, 2010, 7:06:35 AM12/20/10
to chromi...@chromium.org

Comment #87 on issue 10877 by gouessej: Chrome does not launch Java

Please find enclosed the file /trunk/src/net/base/mime_util.cc that I have
modified to try fixing this bug. application/x-java-jnlp-file was never
returned for a jnlp file, it was not returned by the platform-specific mime
type handler and it was not returned by the platform-agnostic mime type
handler. As it is not a platform-specific mime type, it has to be put in
the platform-agnostic mime type handler. I'm not sure it fixes completely
this bug BUT it improves the situation on Linux as the correct mime type is
returned to the application used to open a JNLP file, for example
Konqueror. Please use it as soon as possible.

Attachments:
mime_util.cc 22.4 KB

chro...@googlecode.com

unread,
Dec 20, 2010, 2:12:45 PM12/20/10
to chromi...@chromium.org

Comment #88 on issue 10877 by stuart...@chromium.org: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Issue 66860 has been merged into this issue.

chro...@googlecode.com

unread,
Dec 20, 2010, 2:38:15 PM12/20/10
to chromi...@chromium.org

Comment #89 on issue 10877 by stuart...@chromium.org: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Issue 66993 has been merged into this issue.

chro...@googlecode.com

unread,
Jan 3, 2011, 8:03:09 PM1/3/11
to chromi...@chromium.org

Comment #92 on issue 10877 by craigday: Chrome does not launch Java

The workaround (i.e. Always open file) NOW works UNTIL you get to 100
starts of the same application. This didn't work when I first raised the
bug report. Testing the Draw app from
http://java.sun.com/javase/technologies/desktop/javawebstart/demos-nojavascript.html
today (OSX 10.6.5, Chrome 8.0.552.231) I end up with "draw (1..100).jnlp"
files in my Download directory. The next attempt I get the dialog to ask me
where I want to save the file.


chro...@googlecode.com

unread,
Jan 5, 2011, 4:49:31 PM1/5/11
to chromi...@chromium.org

Comment #93 on issue 10877 by gouessej: Chrome does not launch Java

craigday, this workaround does not work on Linux without my fix.

chro...@googlecode.com

unread,
Jan 6, 2011, 6:23:58 AM1/6/11
to chromi...@chromium.org

Comment #95 on issue 10877 by gouessej: Chrome does not launch Java

Thanks. Some file browsers used by default on Mac OS X and Windows may
detect the file type without using the mime type or they do not take into
account the wrong mime type sent by Chrome/Chromium, that is why your
workaround works on some platforms but not on some Linux distros. My fix
only sends the right mime type for Java Web Start applications.

chro...@googlecode.com

unread,
Jan 10, 2011, 5:16:32 AM1/10/11
to chromi...@chromium.org

Comment #96 on issue 10877 by iparraa: Chrome does not launch Java

What happens if the file is not a .jnlp extension?
It does not work if I run a .asp file with a jnlp mime-type.
This has stopped working on the 8.0.552.215 update of chrome.

chro...@googlecode.com

unread,
Jan 10, 2011, 6:20:54 AM1/10/11
to chromi...@chromium.org

Comment #97 on issue 10877 by gouessej: Chrome does not launch Java

iparraa, I have the same problem with a .php file that forces the JNLP mime
type but I didn't know it had worked in the past. Thank you very much for
this piece of information. However, I don't advise you to use php or asp to
do this in the future as my fix only concerns files with a .jnlp extension.
I do my best. Rather write a bigger JNLP file containing more conditions
concerning the OS, the architecture, etc...

chro...@googlecode.com

unread,
Jan 10, 2011, 8:26:13 AM1/10/11
to chromi...@chromium.org

Comment #98 on issue 10877 by iparraa: Chrome does not launch Java

Yes, in earlier versions, Chrome download the file as a .jnlp file and let
the user execute the file.
In the last version, Chrome download the .asp file and open it as a text
file.
Making a bigger jnlp file is not a solution (at least for me), because I
generate a jnlp code with different parameters created on the web before
launching the jnlp.
My 'temporal solution' is renaming the .asp file to .jnlp but this is not a
solution for the final users, which are using now IE and FF.
Firefox renames the file automatically when detects the jnlp mime type and
let you launch it with Java Web Start.
On the other hand, IE launches Java Web Start directly without prompt
anything to the user.


chro...@googlecode.com

unread,
Jan 19, 2011, 12:55:24 PM1/19/11
to chromi...@chromium.org

Comment #99 on issue 10877 by shamun.toha: Chrome does not launch Java

What is the status of this ? Why you guys making it so complicated ? Jnlp
is a method of easy package deployment to reduce the hell of package mess.

- Why dont you guys just fix this ?
- How long Java will be suffering hate and hate and hate ???

- Why not put bug for Flash player and Silverlight ?


chro...@googlecode.com

unread,
Jan 29, 2011, 5:32:59 AM1/29/11
to chromi...@chromium.org
Updates:
Status: Fixed
Owner: cev...@chromium.org

Comment #106 on issue 10877 by scarybea...@gmail.com: Chrome does not

launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Ok -- on trunk, it's now possible to set JNLP to "auto-open" and it will
bypass the warning iff a user gesture (such as a button click) caused the
JNLP to be served.

Put another way, you can set JNLP to "auto-open", and the John Travoltage
demo app works with just the button click:
http://phet.colorado.edu/simulations/sims.php?sim=John_Travoltage

This will filter into Chrome dev channel in a couple of weeks and then
onwards to stable!

chro...@googlecode.com

unread,
Jan 31, 2011, 5:53:57 AM1/31/11
to chromi...@chromium.org

Comment #107 on issue 10877 by swcodfat...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

This is good news, and will be handy, however I feel the real fix is to
have the ability built into Chrome preferences , that allows you to
associate applications to specific file types, like you can do in Firefox.

Not sure if this has been suggested or is being worked on, but fixing these
one at a time seems to be a waste of developer time, in my opinion.

chro...@googlecode.com

unread,
Jan 31, 2011, 6:32:24 AM1/31/11
to chromi...@chromium.org

Comment #108 on issue 10877 by pfe...@gmail.com: Chrome does not launch

Thank you for the fix. A lot of final users will be happy with your time.


chro...@googlecode.com

unread,
Jan 31, 2011, 7:02:39 AM1/31/11
to chromi...@chromium.org

Comment #109 on issue 10877 by david.ke...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Thanks!

chro...@googlecode.com

unread,
Jan 31, 2011, 4:32:28 PM1/31/11
to chromi...@chromium.org

Comment #111 on issue 10877 by scarybea...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

@swcodfather: this is not a one-off fix. It applies to any "dangerous" file
type for which a MIME type handler is registered at the system level.

chro...@googlecode.com

unread,
Feb 1, 2011, 10:29:51 AM2/1/11
to chromi...@chromium.org

Comment #112 on issue 10877 by swcodfat...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Thanks for the update chaps, I will follow the bug report 55566 and help
with testing when it is available.

chro...@googlecode.com

unread,
Feb 13, 2011, 8:45:57 PM2/13/11
to chromi...@chromium.org

Comment #113 on issue 10877 by ejkitc...@gmail.com: Chrome does not launch

I have the exact same problem under Windows 7 64bit, Chrome 9.0.597.98.
What I would like to point out is that the steps listed above by a few
people to click the down arrow and tell Chrome to 'always open files of
this type' does not work. It does absolutely nothing. I tried re-starting
Chrome and same thing. It automatically downloads but then does absolutely
nothing. I am using this to try and access my DRAC (Dell Remote Access
Console) on a server remotely. Under IE 7,8,9 works without issue. Under
Chrome, it just downloads the file and sits there. It would be nice to just
have this work out of the box or to at least provide end users with a
simple warning if you do not want this on by default. But at least don't
make it hard to have this work seamlessly.

BTW, I had the same problem on my Mac and there I had to follow some other
instructions and actually register the file association with an executable
in a directory. After that it worked like a charm. But on Windows, it does
not work for me.

EJK

chro...@googlecode.com

unread,
Feb 18, 2011, 6:36:25 AM2/18/11
to chromi...@chromium.org

Comment #114 on issue 10877 by goues...@gmail.com: Chrome does not launch

The fix that is currently used does not change anything in the MIME type,
mine would be complementary, wouldn't it?

chro...@googlecode.com

unread,
Mar 10, 2011, 3:22:07 PM3/10/11
to chromi...@chromium.org

Comment #115 on issue 10877 by krzyszto...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Exactly the same problem here: Chrome 10.0.648.127, Mint Linux 9 (Isadora)
x86.


chro...@googlecode.com

unread,
Mar 15, 2011, 6:57:40 AM3/15/11
to chromi...@chromium.org

Comment #116 on issue 10877 by chong.la...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Same problem. Chrome 10.0.648.133/Vista x86.

There is a workaround -- after enabling auto-open, when the JNLP file is
being downloaded, you will see it at the left bottom with "SAVE"
or "DISCARD", click "SAVE" then it will auto launch. Hope this helps.

chro...@googlecode.com

unread,
Mar 21, 2011, 4:56:53 AM3/21/11
to chromi...@chromium.org

Comment #117 on issue 10877 by yyh...@gmail.com: Chrome does not launch

but how do I set it to auto-save AND Open automatically? I remember it
works OK before the recent upgrade..Pls advice.

chro...@googlecode.com

unread,
Mar 27, 2011, 4:58:27 AM3/27/11
to chromi...@chromium.org

Comment #120 on issue 10877 by bb...@pacbell.net: Chrome does not launch

I am still having this problem.
This is a very important issue because when I use trade, I need to launch
jnlp.

chro...@googlecode.com

unread,
Mar 28, 2011, 3:05:48 PM3/28/11
to chromi...@chromium.org

Comment #122 on issue 10877 by supag...@gmail.com: Chrome does not launch

I just verified that it didn't auto launch my jnlp after clicking it in dev
chrome 11. This should ideally work just like an applet where the menu
above pops up and asks if you want to run java application. My concern is
that it still is dumping the jnlp to Downloads and is numbering it
file(1).jnlp, file(2).jnlp, etc. which will continue to take up space and
never get cleaned up as it is not going to the temp directory and not
getting cleaned up once the browser is closed. I understand that customers
can set auto-open of jnlp, but that is not what I'd like to happen.

Attachments:
java plugin image.jpg 161 KB

chro...@googlecode.com

unread,
Mar 28, 2011, 3:09:51 PM3/28/11
to chromi...@chromium.org

Comment #123 on issue 10877 by supag...@gmail.com: Chrome does not launch

Attachments:
java plugin image.jpg 155 KB

chro...@googlecode.com

unread,
Apr 2, 2011, 3:36:18 AM4/2/11
to chromi...@chromium.org

Comment #124 on issue 10877 by ray.fang...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

google, i thought you didn't suck.

chro...@googlecode.com

unread,
Apr 2, 2011, 6:28:09 AM4/2/11
to chromi...@chromium.org

Comment #125 on issue 10877 by goues...@gmail.com: Chrome does not launch

I haven't checked that with Google Chrome 11.

chro...@googlecode.com

unread,
Apr 3, 2011, 2:01:23 AM4/3/11
to chromi...@chromium.org

Comment #126 on issue 10877 by craig...@gmail.com: Chrome does not launch

Maybe James Gosling can fix it for us now.

chro...@googlecode.com

unread,
Apr 4, 2011, 6:20:26 AM4/4/11
to chromi...@chromium.org

Comment #127 on issue 10877 by goues...@gmail.com: Chrome does not launch

Kenneth Bradley Russell and James Gosling are able to fix this bug but the
problem does not rely in any Java source code as Chrome is written in C++.
However, the fix already used in Chrome 10 works even though some people do
not like its behavior and I provided another fix. If the code has not been
deeply restructured, a new fix is not really necessary, otherwise I will
give it a quick look.

chro...@googlecode.com

unread,
Apr 4, 2011, 9:32:26 AM4/4/11
to chromi...@chromium.org

Comment #128 on issue 10877 by mwisnicki: Chrome does not launch Java

This bug should not be marked as fixed.

chro...@googlecode.com

unread,
Apr 4, 2011, 9:57:03 AM4/4/11
to chromi...@chromium.org

Comment #129 on issue 10877 by mwisnicki: Chrome does not launch Java

BTW it is possible to achieve desired behavior by writing NPAPI plugin
(there are download managers that integrate with Chrome this way).
Unfortunately sun/oracle never really cared. Even their Firefox integration
is rather bad, yet Microsoft managed to integrate .NET ClickOnce properly.

chro...@googlecode.com

unread,
Apr 4, 2011, 10:41:25 AM4/4/11
to chromi...@chromium.org

Comment #130 on issue 10877 by pfe...@gmail.com: Chrome does not launch

Below ASP code works fine within IE & Firefox
Chrome just save the target ASP file !!

Please fix it, no workarounds

Pedro

<%@ language="VBSCRIPT" codepage="1252" %>

<%
Response.ContentType="application/x-java-jnlp-file"
Response.Write("<?xml version=""1.0"" encoding=""ISO-8859-1""?>")
Response.Write("<jnlp spec=""1.5+"" codebase=""http://www.SERVER.com/""
href=""file.jnlp"">")
...
Response.Write("</jnlp>")
%>

chro...@googlecode.com

unread,
Apr 4, 2011, 12:21:54 PM4/4/11
to chromi...@chromium.org

Comment #131 on issue 10877 by tha...@chromium.org: Chrome does not launch

Hi guys,

you need to set JNLP files to auto-open. To do this:
1.) Download a JNLP file
2.) In the download bar, right-click the item
3.) Choose "Always open this type of file"

After that, this should work.

chro...@googlecode.com

unread,
Apr 4, 2011, 12:53:13 PM4/4/11
to chromi...@chromium.org

Comment #132 on issue 10877 by mwisnicki: Chrome does not launch Java

No, it doesn't work. If you do that then file is still downloaded to you
Downloads directory.

chro...@googlecode.com

unread,
Apr 4, 2011, 1:33:34 PM4/4/11
to chromi...@chromium.org

Comment #133 on issue 10877 by supag...@gmail.com: Chrome does not launch

@thakis I don't think it is expectable behavior for jnlp where the user has
to select open or auto-open. Most users do not even know what a jnlp file
is or what to do with it. For example, nobody expects to open a file when
you launch an adobe air program. Here is an example. http://chessjam.com/
clicking install does not prompt you to save a file to open. It just
launches the air installer. I believe the same thing should happen for the
jnlp. All the other browsers perform in such a way. If google is worried
about launching something harmful then it should probably display something
like what I suggested in comment 123.

chro...@googlecode.com

unread,
Apr 5, 2011, 8:31:07 AM4/5/11
to chromi...@chromium.org

Comment #134 on issue 10877 by goues...@gmail.com: Chrome does not launch

@mwisnicki I don't agree with you, Firefox integration of the plugin 2 of
J2SE 1.6 is excellent, there had been numerous problems with the plugin 1
but these problems did not affect Java Web Start as far as I know. .NET
ClickOnce works only on a single family of operating system, you cannot
compare this thing with Java Web Start. Can you tell me which version of
Chrome you use please?

@thakis It works for me. However, I agree with the previous comment. The
treatment of Java in Chrome is unfair, I see the (bonus) dangerous file
warning whereas there is already the scary warning of Java Web Start for
signed applications requiring some authorizations. If you want to
discourage the final users from launching Java applications, keep the same
behavior :(

@supag The default scary warnings of Java are enough, don't they? On which
operating system did you try Chrome 11?

chro...@googlecode.com

unread,
Apr 5, 2011, 8:47:11 AM4/5/11
to chromi...@chromium.org

Comment #135 on issue 10877 by pfe...@gmail.com: Chrome does not launch

Please, do you know why chrome is not handling "ContentType" (last tested
version 10.0.648.204) ?
See comments #130, #102

chro...@googlecode.com

unread,
Apr 5, 2011, 8:51:12 AM4/5/11
to chromi...@chromium.org

Comment #136 on issue 10877 by mwisnicki: Chrome does not launch Java

@goues...
It's certainly less than excellent (unlike ClickOnce). Firefox basically
treats JNLP exactly the same way as Chrome except it downloads this file to
$TMP and I already mentioned that in comment 73. Such treatment causes JNLP
files to not work if codebase is not hardcoded into them, yet codebase is
optional according to jnlp documentation.

That ClickOnce works only on windows does not really matter as its Firefox
plugin is pure javascript and very simple, it just catches download of
clickonce file and passes the url to clickonce launcher. With 3 simple
changes it could be used for JNLP.

Anyway this is mostly Oracle's problem. They can easily provide working
WebStart solution for Chrome and Firefox if they want. Instead they (and
Sun before them) choose to ignore bugs and other deficiencies of WebStart.
In fact they don't even accept such bugs into their bug system (which is
moderated).

I'm using Chrome 11 if you really need to know.

chro...@googlecode.com

unread,
Apr 5, 2011, 9:06:48 AM4/5/11
to chromi...@chromium.org

Comment #137 on issue 10877 by mwisnicki: Chrome does not launch Java

Oh and one more thing. There is a javascript jnlp deployment script which
you are supposed to use at
http://download.oracle.com/javase/tutorial/deployment/webstart/deploying.html,
or more precisely http://www.java.com/js/deployJava.js.

Unfortunately it uses 'application/java-deployment-toolkit' mime type
handled by special deployment plugin 'npdeployJava1.dll' that:
1. is not registered with Chrome
2. even though it's present in Firefox it does not seem to work there

chro...@googlecode.com

unread,
Apr 5, 2011, 9:10:49 AM4/5/11
to chromi...@chromium.org

Comment #138 on issue 10877 by mwisnicki: Chrome does not launch Java

And webstart deployment toolkit does not work by design ;)
From http://java.com/js/deployJava.txt:

launchWebStartApplication: function(jnlp) {
// This methos is disabled for the time being
return false;
},

Been that way since forever. Typical shit like you would expect from Sun.

chro...@googlecode.com

unread,
May 15, 2011, 2:54:44 PM5/15/11
to chromi...@chromium.org

Comment #140 on issue 10877 by dvanh...@gmail.com: Chrome does not launch

Under XUbuntu Linux (with both Thunar and Nautilus properly opening
the .jnlp files), this still does not work under Google Chrome version
13.0.761.0 dev.
I'm noticing that it's silently downloading the file to my Downloads
folder, as mentioned in comment 132.

chro...@googlecode.com

unread,
May 31, 2011, 11:34:38 AM5/31/11
to chromi...@chromium.org

Comment #141 on issue 10877 by jimjohnm...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

@thakis ~ your three step solution does not work because there is
no "always open" option on a right-click. I get several "open link in"
options as well as "save as", "copy", "inspect" and "search in" wikipedia
and dictionary. Your solution seems to be specific to your operating
system, because the option you recommend does not exist in Mac OS.

chro...@googlecode.com

unread,
Jun 22, 2011, 3:35:05 AM6/22/11
to chromi...@chromium.org

Comment #143 on issue 10877 by dmp1...@gmail.com: Chrome does not launch

Another vote for Chrome not dealing with JNLP well. Out of the box, I
shouldn't have to download it and then manage settings in any way. If
anything, Chrome could have a pop-up confirming we want to run it, save it,
or cancel.

chro...@googlecode.com

unread,
Jun 24, 2011, 6:43:06 AM6/24/11
to chromi...@chromium.org

Comment #145 on issue 10877 by ray.fang...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Good job Google for not fixing it!

chro...@googlecode.com

unread,
Jun 26, 2011, 12:19:45 PM6/26/11
to chromi...@chromium.org

Comment #146 on issue 10877 by EddieDo...@aeoniangames.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Still a problem on 12.0.742.100

chro...@googlecode.com

unread,
Jun 27, 2011, 4:42:45 PM6/27/11
to chromi...@chromium.org

Comment #150 on issue 10877 by scarybea...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

@efreak2004: forgive me for not running a random piece of Java on the
internet, but I had a quick look at the HTTP headers at least.
Does it not work if you select "always open files of this type" from the
Chrome download shelf?

chro...@googlecode.com

unread,
Jul 8, 2011, 11:06:41 AM7/8/11
to chromi...@chromium.org

Comment #155 on issue 10877 by upendra....@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

I did what the community has suggested, so when I click on the test links
from java website- I get a nice splash screen from java showing me Java 6..
and then poof !!! there is no notepad file opened anywhere.

About Chrome gives Chrome version as 12.0.742.112 , I am running this on
Vista.

@ conspiracy theorists - I dont think Google can stoop so low as to
consciously disable/ prevent Java features from working just to get level
with Oracle.. so

Any Gurus/ Geeks who can help ?

chro...@googlecode.com

unread,
Jul 9, 2011, 9:12:17 AM7/9/11
to chromi...@chromium.org

Comment #156 on issue 10877 by balogh.p...@cit.hu: Chrome does not launch

It's extremely frustrating! The only thing, I can't use Chrome right now,
is accessing IP Console for our servers. This URL can not be open with
chrome:
https://managementhost/viewer.jnlp(managementhost@0@1310216803551)


chro...@googlecode.com

unread,
Aug 4, 2011, 9:32:05 PM8/4/11
to chromi...@chromium.org

Comment #158 on issue 10877 by dahl...@gmail.com: Chrome does not launch

It would be nice if you would support this, Every time I think I can move
to chrome the inability to kick off JNLP programs makes me move back to
firefox.

chro...@googlecode.com

unread,
Aug 29, 2011, 1:44:20 AM8/29/11
to chromi...@chromium.org

Comment #160 on issue 10877 by puttitin...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

This issue is still occurring for me as well using Chromium 15.0.866.0
(Developer Build 98596 Windows)

chro...@googlecode.com

unread,
Sep 28, 2011, 10:27:12 PM9/28/11
to chromi...@chromium.org

Comment #164 on issue 10877 by Patrick....@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

not fixed yet. I opted for the run this file type always method which
seems to work for now

chro...@googlecode.com

unread,
Oct 14, 2011, 4:48:02 PM10/14/11
to chromi...@chromium.org

Comment #165 on issue 10877 by aha...@gmail.com: Chrome does not launch

Having the same issues as "ptu...@gmail.com" with iDRAC. Windows see's
every .jnlp file as a unique extension due to the embedded info on the
file. Using IE for now to save time; would really love to see this resolved.

chro...@googlecode.com

unread,
Oct 15, 2011, 2:42:43 AM10/15/11
to chromi...@chromium.org

Comment #166 on issue 10877 by n4th4nr...@gmail.com: Chrome does not launch

Still broken
14.0.835.202 m
jnlp file from Dell Drac works in Firefox, works in IE, just downloads in
Chrome.

chro...@googlecode.com

unread,
Oct 18, 2011, 1:37:12 PM10/18/11
to chromi...@chromium.org

Comment #167 on issue 10877 by rds...@chromium.org: Chrome does not launch

@aha..., @ptu...: Could you switch over to issue 92846? That sounds like
it may be something real. @aha...: Can you say more about the windows
behavior? I'm not familiar with that, and that type of thing could easily
get in the way of auto-opening jnlp files, since we delegate the opening to
the OS.


chro...@googlecode.com

unread,
Oct 26, 2011, 4:37:25 AM10/26/11
to chromi...@chromium.org

Comment #169 on issue 10877 by pfe...@gmail.com: Chrome does not launch

15.0.874.102 m it's working fine, thank you!

chro...@googlecode.com

unread,
Oct 27, 2011, 2:14:08 PM10/27/11
to chromi...@chromium.org

Comment #170 on issue 10877 by patrice....@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

Seems to be OS specific.

Doesn't work for me with 15.0.874.106 on Windows XP, however works on
Windows 7.


chro...@googlecode.com

unread,
Nov 2, 2011, 5:45:01 PM11/2/11
to chromi...@chromium.org

Comment #171 on issue 10877 by e...@pumavision.net: Chrome does not launch

JNLP's do not auto launch on Mac OSX Lion Chrome 15.0.874.106. Confirmed
today.

I first noticed this behavior in the beta channel several weeks ago and
switched to stable because of it. Now it's in the stable channel.

chro...@googlecode.com

unread,
Nov 7, 2011, 6:16:20 AM11/7/11
to chromi...@chromium.org

Comment #173 on issue 10877 by ipar...@gmail.com: Chrome does not launch

Oh!! It has been solved on version 16 !!!

*
*

chro...@googlecode.com

unread,
Nov 7, 2011, 6:24:28 AM11/7/11
to chromi...@chromium.org

Comment #174 on issue 10877 by ipar...@gmail.com: Chrome does not launch

Oh! Finally in version 16.0.912.21 beta it has been solved!!

The mime-type is recognized and the browser open the jnlp file!

chro...@googlecode.com

unread,
Nov 24, 2011, 8:20:35 AM11/24/11
to chromi...@chromium.org

Comment #175 on issue 10877 by eduardo....@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

I'm using Chrome 16.0.912.41 beta on Linux and it doesn't open the jnlp
file....

chro...@googlecode.com

unread,
Jan 24, 2012, 5:20:50 PM1/24/12
to chromi...@chromium.org

Comment #183 on issue 10877 by ballinge...@gmail.com: Chrome does not
launch Java automatically for JNLP resources
http://code.google.com/p/chromium/issues/detail?id=10877

K12 school system relies on .jnpl mime type. Pretty much if you don't fix
this, kids being home schooled can't run under chrome.

chro...@googlecode.com

unread,
Feb 8, 2012, 10:28:48 AM2/8/12
to chromi...@chromium.org

Comment #188 on issue 10877 by ano...@gmail.com: Chrome does not launch

Still not fixed! How is this possible? This bug has been around since 2009!
I develop applications for biologists, and I use JWS for its simplicity.
Chrome takes that away.

Please fix!!

chro...@googlecode.com

unread,
Feb 20, 2012, 4:05:28 AM2/20/12
to chromi...@chromium.org

Comment #191 on issue 10877 by weberg...@gmail.com: Chrome does not launch

not fixed..
google are you actually listening to us ?

It is loading more messages.
0 new messages