I recently upgraded from Fedora 23 to Fedora 27 which involved installing a new version of Chrome. I then discovered that Java was a pain to start, and in the course of experimenting I ended up telling Firefox and Chrome to open .jnlp extensions with Firefox.
Eventually I found the javaws binary and was able to tell Firefox to stop recursively opening itself and to launch /usr/java/latest/bin/javaws %U
However, Chrome still launches Firefox for every .jnlp extension (OK, it works with Firefox, but it's messy), but I've been unable to find a way to tell Chrome to use javaws instead. I've done a "egrep -ri 'jnlp|firefox' ~/.config/google-chrome" and deleted several files to no avail. I even deleted the entire ~/.config/google-chrome directory. However Chrome still launches Firefox for every .jnlp extension.
I've searched the web and everything talks about setting the default application for Windoze, but I'm running a proper OS. I even created a /usr/share/applications/javaws.desktop on that basis, but Chrome still insists on launching Firefox for .jnlp extensions.
How do I get rid of this setting and even better how do I get it to use javawa instead?