You are not logged in.

#1 2019-04-01 12:49:28

ihet
Member
Registered: 2019-04-01
Posts: 11

[Solved]I want to be able to run .jnlp files directly from firefox

Hi

I havnt got this to work with icedtea-web and have been trying with different jdk and jre. If anyone out there got this to work my question is what did you install and did you do some changes in firefox after to get it working?

Thanks for taking your time.

Last edited by ihet (2019-04-02 13:51:30)

Offline

#2 2019-04-01 12:55:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,614
Website

Re: [Solved]I want to be able to run .jnlp files directly from firefox

What have you done so far?  What errors do you get from firefox?

https://icedtea.classpath.org/wiki/IcedTea-Web#Plugin


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-04-01 13:08:44

ihet
Member
Registered: 2019-04-01
Posts: 11

Re: [Solved]I want to be able to run .jnlp files directly from firefox

Trilby wrote:

What have you done so far?  What errors do you get from firefox?

https://icedtea.classpath.org/wiki/IcedTea-Web#Plugin

I now have jdk10-openjdk and jre10-openjdk installed and also icedtea-web and icedtea-web-doc and I am able to choose icedtea-web when trying to run a .jnlp file from firefox but after pressing open nothing happens. It just get added to dowloads

Offline

#4 2019-04-01 13:23:07

ihet
Member
Registered: 2019-04-01
Posts: 11

Re: [Solved]I want to be able to run .jnlp files directly from firefox

If you all think that what I have installed should be enough to get it working could it then be some kind of permissions problem? If my arch linux install is to restrict or something like that?

Offline

#5 2019-04-01 13:28:10

sincomil
Member
Registered: 2018-02-13
Posts: 106

Re: [Solved]I want to be able to run .jnlp files directly from firefox

check that you also have installed 32bit version of java, because most of that applications need 32-bit javaws
You can check it with

$ archlinux-java32 status
Available 32-bit Java environments:
  java32-6-jre/jre
  java32-7-jre/jre (default)

Last edited by sincomil (2019-04-01 13:29:36)

Offline

#6 2019-04-01 13:47:35

ihet
Member
Registered: 2019-04-01
Posts: 11

Re: [Solved]I want to be able to run .jnlp files directly from firefox

sincomil wrote:

check that you also have installed 32bit version of java, because most of that applications need 32-bit javaws
You can check it with

$ archlinux-java32 status
Available 32-bit Java environments:
  java32-6-jre/jre
  java32-7-jre/jre (default)

Okey! But I cant run either archlinux-java32 or archlinux-java64 but I can check archlinux-java status and it says:
Available Java environments:
  java-10-openjdk (default)

Does this mean I have done something wrong here?

Offline

#7 2019-04-01 14:34:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,614
Website

Re: [Solved]I want to be able to run .jnlp files directly from firefox

Have you followed the instructions I linked to?  Have you run firefox from a terminal and tried to run a jnlp file so you could observe any error output?

These are rhetorical questions.  It would seem you haven't.  Please do so.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2019-04-01 14:41:57

sincomil
Member
Registered: 2018-02-13
Posts: 106

Re: [Solved]I want to be able to run .jnlp files directly from firefox

@ihet if you have no archlinux-java32 command available   then you have no installed 32-bit version of java

Last edited by sincomil (2019-04-01 14:45:36)

Offline

#9 2019-04-01 18:16:10

ihet
Member
Registered: 2019-04-01
Posts: 11

Re: [Solved]I want to be able to run .jnlp files directly from firefox

Trilby wrote:

Have you followed the instructions I linked to?  Have you run firefox from a terminal and tried to run a jnlp file so you could observe any error output?

These are rhetorical questions.  It would seem you haven't.  Please do so.

I followed the links instructiuon on creating a symlink and placed it in my local .mozilla but firefox already sence the icedTea-web since I can choose it when trying to launch a .jnlp.

No .jnlp file can be launched thru firefox but when saving a .jnlp file local and running from terminal I can get test .jnlp to run but when running the one I want to launch, a iKVM for my server, it just says "Download ATEN java iKVM viewer: 0%" (and blinking!?) This I am wondering if it actually could have something to do with I am running 64 bit java or if it is not possible to run a iKVM for a server locally and it has to be launched from website when I am logged in to SuperMicro, I have no idea on this part.

NOW after just waiting a few minutes the downloading started and then It ask me if I trusted SuperMicro and then I pressed "Run" but then it hangs and gives me these "Details":

net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:577)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:940)
Caused by: java.lang.ClassNotFoundException: tw.com.aten.ikvm.KVMMain
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1557)
	at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
	... 1 more

And if I press the tab "java console":
https://pastebin.com/nM8JvLtC

Offline

#10 2019-04-01 19:35:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,892

Re: [Solved]I want to be able to run .jnlp files directly from firefox

I'm almost 100% positive that every browser has removed direct webstart ability from their code base.

Your best bet would be trying an old version (like 2 - 3 years or so): https://support.mozilla.org/en-US/kb/npapi-plugins

Or even better, not rely on outdated technology for whatever you want to do, if that is possible.

Last edited by V1del (2019-04-01 19:47:00)

Offline

#11 2019-04-02 13:49:02

ihet
Member
Registered: 2019-04-01
Posts: 11

Re: [Solved]I want to be able to run .jnlp files directly from firefox

I solved it. I am still not anle to launch thru firefox but it can have with what @V1del wrote. But i tried uninstall icedtea-web and only run with javaws from the terminal vith the -verbose option. And also entered the javacontrol and under security lowered to medium.

(I marked it as solved even though the topic was to make it run from firefox. But it is close enough smile

Thanks all of you for taking your time!!

Last edited by ihet (2019-04-02 13:52:47)

Offline

#12 2019-04-02 14:05:10

progandy
Member
Registered: 2012-05-17
Posts: 5,211

Re: [Solved]I want to be able to run .jnlp files directly from firefox

Firefox stopped supporting and loading icedtea-web with version 52. Still, it should be possible to create a .desktop file that will allow opening .jnlp files with e.g. xdg-open, mimeo, or the open-with dialog in firefox.

Last edited by progandy (2019-04-02 14:06:04)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#13 2019-04-02 20:21:33

Muflone
Package Maintainer (PM)
From: Italy
Registered: 2013-10-08
Posts: 107
Website

Re: [Solved]I want to be able to run .jnlp files directly from firefox

I've packaged firefox-esr-52 in the AUR in order to use all of my many web applications that need Java.

It's fully installable along with the standard Firefox package and runnable in parallel using --no-remote -P profile

Offline

#14 2019-04-04 15:25:27

ihet
Member
Registered: 2019-04-01
Posts: 11

Re: [Solved]I want to be able to run .jnlp files directly from firefox

@Muflone @progandy

Thanks for your inputs. Will try both your suggestions!

Offline

Board footer

Powered by FluxBB