How to open jnlp linux

Arch Linux

You are not logged in.

#1 2012-03-28 06:24:51

jnlp files with jre-openjdk

I cannot open any file with jre-openjdk. which is the procedure to run such apps?
Its a web application that runs perfectly both one windows and on OSX.

Can anyone help?

#2 2012-04-03 05:37:36

Re: jnlp files with jre-openjdk

#3 2012-04-03 05:49:35

Re: jnlp files with jre-openjdk

Your description is fairly vague. What happens exactly when you try to open a java application? Preferably try to open it via cli (for some debug output).

#4 2012-04-03 20:41:26

Re: jnlp files with jre-openjdk

You need icedtea java web stuff, not just the jre.

#5 2012-04-04 06:45:14

Re: jnlp files with jre-openjdk

And once installed, how to run them? Because the behaviour is still the same as before when i attempt to open those files.

Thank you

#6 2012-04-04 12:51:49

Re: jnlp files with jre-openjdk

Just opening the jnlp file with icedtea should be enough to get it running, but you will need to be online as jnlp just downloads a jar and executes it.

#7 2012-04-12 23:11:52

Re: jnlp files with jre-openjdk

I cannot open any file with jre-openjdk. which is the procedure to run such apps?
Its a web application that runs perfectly both one windows and on OSX.

Can anyone help?

Certainly. You make a very valid question.

In the Windows world, Java Web Starts app run «automagically». That is, if you install Java, that’ s all there is to it. The Sun/Oracle JRE install takes care of installing the Java runtime, the Java plug-in (for all browsers on the system), and also the required bits to run Java Web Start, so when you click on a .jnlp link on a web page, tha app just starts, you se the Java splash screen, and seconds later, the app pops up. (if it is the first time you run an app from such vendor, a security dialog comes up asking if you know and want to trust that crypto signature from that dev going forward, just authorize it this time, or cancel -not run it-).

In the Linux world, Java (as the open source project) is called «OpenJDK». But if you install OpenJDK alone, you don’ t get the «Plug-in» (the component needed to run applets inside a web browser AND Java Web Start apps). You need «IcedTea» which is the name given to the Java Plug-in that goes along with OpenJDK.
Why they choose to confuse the user with two different package names is beyond me (actually, I know why, it has to do with the project history, but that’ s of no interest to end users). If you ask me, Icedtea should be renamed to «OpenJDK-plugin». But that is besides the point.

Читайте также:  Firemaster vst mac os

Having said that, -please have patience- here’ s your solution.

You need to install «Icedtea».
OK, so you installed Icedtea, clicked on a Java Wesbtart app launcher link (.jnlp) and got an odd dialog from the browser asking what do you want to do with the .jnlp file?. Don’ t despair. That happens because while you have:.

1. A functioning JRE installed (OpenJDK)
2. A functioning Java plug-in (IcedTea) installed,

The Icedtea installation has NOT configured Icedtea as a browser «helper app» to appropiately launch JNLP files.

So how do you fix it. Simple: 😉

1. Select «Open With» and instead of the default app (ie Fedora wants to open .jnlp links with gEdit), click on the app name to «choose another»
2. Then navigate to /bin and select «javaws’
3. Select «Do this automatically for files like this from now on»
4. Click «OK»

. the Java app will launch.

And from that point on, all Java Web Start apps will run when you click on the launcher link. (again, the first time you run any given app you’ ll have to authorize it, but not from that point onwards if the crypto signature is maintained).

Does this need to be so irritatingly complex? of course not.

The problem is that the Icedtea developers think about things like developers, not end users. 🙁

I hope I have been of help. And to the rest of the people who replied. try to be more understanding of end users’ needs, please. 🙂
*I say this with a grin on my face, please nobody get offended*

Источник

[РЕШЕНО]Запуск файлов .jnlp

# 4 года, 1 месяц назад (отредактировано 4 года, 1 месяц назад) Доброе время суток, господа.
Возникла проблема: есть необходимость установить Freenet, который распространяется при помощи скрипта установщика freenet.jnlp. Запуск файла осуществлял из консоли с правами «sudo» командой:
javaws freenet.jnlp — вывод ошибки «нет такой команды», причем параллельно запускал на Debian просто дав права на выполнение и через nautillus «запустить» и javaws freenet.jnlp — все работает, но хотелось бы все же перейти на Arch.
Что на борту:
— Arch со всеми последними обновлениями, Xfce4;
— openjdk version «1.8.0_144»;
— OpenJDK Runtime Environment (build 1.8.0_144-b01);
— OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode);
Собственно вопрос: что мне нужо сделать, что бы получить возможность запускать .jnlp, ну или как установить freenet?

# 4 года, 1 месяц назад (отредактировано 4 года, 1 месяц назад) Спасибо за ссылку, но вся проблема в том, что при установленной jav’e консоль «не знает» команды javaws:
[email protected]

]$ java -version
openjdk version «1.8.0_144»
OpenJDK Runtime Environment (build 1.8.0_144-b01)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)

[phantom-pc Документы]# javaws freenet.jnlp
bash: javaws: команда не найдена

# 4 года, 1 месяц назад (отредактировано 4 года, 1 месяц назад) А вот и проблема нарисовалась:
sudo locate javaws
/usr/share/icons/Vertex-Maia/apps/48×48/apps/javaws.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/oracle-javaws.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jdk6.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jdk7.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jdk8.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jre8.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws.png.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws.svg
/usr/share/icons/Vertex-Maia/apps/scalable/javaws.svg
/usr/share/icons/Vertex-Maia/apps/scalable/oracle-javaws.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jdk6.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jdk7.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jdk8.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jre8.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws.png.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws.svg

При установленной java от нее только картинки остались. И что мне теперь делать?
Я так понимаю, мне нужно заново переустановить java?

Переустановка ничего не изменила, команда javaws так и недоступна .
# 4 года, 1 месяц назад (отредактировано 4 года, 1 месяц назад)
Читайте также:  Microsoft windows forza horizon 4

hathory
Переустановка ничего не изменила, команда javaws так и недоступна .

$ pacman -Fs javaws
extra/bash-completion 2.7-1
usr/share/bash-completion/completions/javaws
extra/icedtea-web 1.6.2-2
usr/bin/javaws
usr/share/icedtea-web/bin/javaws

PS . у нас самый мощный pacman — нужно учиться пользоваться

]$ sudo pacman -Fs javaws
extra/bash-completion 2.7-1
usr/share/bash-completion/completions/javaws
extra/icedtea-web 1.6.2-2
usr/bin/javaws
usr/share/icedtea-web/bin/javaws

[[email protected] Загрузки]$ javaws freenet.jnlp
bash: javaws: команда не найдена
[[email protected] Загрузки]$ sudo javaws freenet.jnlp
[sudo] пароль для polimer:
sudo: javaws: command not found

Собственно ничего и не изменилось:
[email protected] Загрузки]$ sudo locate javaws
/usr/share/icons/Vertex-Maia/apps/48×48/apps/javaws.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/oracle-javaws.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jdk6.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jdk7.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jdk8.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws-jre8.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws.png.svg
/usr/share/icons/Vertex-Maia/apps/48×48/apps/sun-javaws.svg
/usr/share/icons/Vertex-Maia/apps/scalable/javaws.svg
/usr/share/icons/Vertex-Maia/apps/scalable/oracle-javaws.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jdk6.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jdk7.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jdk8.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws-jre8.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws.png.svg
/usr/share/icons/Vertex-Maia/apps/scalable/sun-javaws.svg
# 4 года, 1 месяц назад (отредактировано 4 года, 1 месяц назад)

hathory, молодец. рассмешил.

тебе ж vasek ясно намекнул что ставить.

Источник

Working with Java Web Start (.jnlp) in Firefox/OpenSUSE, and Linux in general

So after a good long time not being able to play this Facebook game we’re building for P2P-related research, which runs on Java Web Start, I finally got pissed today and sat down and finally got to the bottom of it.

Because Java isn’t free technology and all that, OpenSUSE actually comes preinstalled with OpenJDK instead of the common version of Java distributed by Sun. With this default configuration, Web Start (JNLP) files on the internet will open by default in an open implementation of Java Web Start called ‘IcedTea Web Start’, which I hear works reasonably well – but outright doesn’t work for some cases, like mine.

For people who, like me, need to run Sun’s version of Web Start from Firefox – first, you need to grab and install Sun’s version of the Java runtime using your software package manager (in OpenSUSE the package is called java-1_6_0-sun ). Verify that you have a program called ‘javaws’ after this step. You can simply type ‘javaws’ into an open terminal and make sure it is recognized as Java(TM) Web Start.

Okay, next all we need to do is get Firefox to use javaws when opening JNLP files. For other distros you’d go to Edit > Preferences > Applications in Firefox, look for JNLP, and change the setting so it uses javaws. On OpenSUSE, Firefox is integrated so it takes its file-association settings directly from KDE. So you’ll have to instead go to KDE’s systemsettings (Configure Desktop) > Advanced Tab > File Associations. Here, run a search for JNLP, then add ‘/usr/bin/javaws’ to the top of the Application Preference Order.

We’re done! Next time you open a JNLP Web Start file in Firefox, it should offer to use Sun’s Java Web Start to open it 🙂

Источник

Thread: How to open .jnlp files in 64-bit ubuntu?

Thread Tools
Display

How to open .jnlp files in 64-bit ubuntu?

I am running 64-bit Ubuntu 8.10. Is there any way to open .jnlp files? Presently, when I click on the file, nothing happens.

Re: How to open .jnlp files in 64-bit ubuntu?

Re: How to open .jnlp files in 64-bit ubuntu?

If I try to open the file in firefox, I get:

/home/obriem5/Desktop/rpischeduler.jnlp could not be opened, because an unknown error occurred.

Try saving to disk first and then opening the file.

However, it is saved to my desktop already. From that path, choosing to open with firefox redirects me to the website where I downloaded it, with the option to open or save to disk.

Re: How to open .jnlp files in 64-bit ubuntu?

I would right-click some JNLP file, select «Open With», and select open with sun java 6 web start.

Re: How to open .jnlp files in 64-bit ubuntu?

If I try doing that, it does absolutely nothing.

Re: How to open .jnlp files in 64-bit ubuntu?

Try install libnetx-java package. Maybe it help you

Re: How to open .jnlp files in 64-bit ubuntu?

Had exactly the same problem. Be sure you have nothing but the latest sun java 6 web start. In firefox preferences, select to open .jnlp files using sun java 6 web start. If you have openjdk installed, completely remove that. anyway, that is worked for me, if somebody did something else, they can share.

Re: How to open .jnlp files in 64-bit ubuntu?

For future reference to anyone reading this:

Читайте также:  Kali linux bluetooth attacks

OpenJDK is a future replacement for Java. Currently, Ubuntu and Mac OS X use this instead of the official Oracle Java. Some things do not work entirely yet and may cause problems, but it does get closer with every release. If this is the case for you, simply replace OpenJDK with Java.

On Ubuntu, you will likely want to use Oracle Java instead of OpenJDK. You can do this by enabling the Partner Repository in the Ubuntu Software Centre’s Software Sources menu. Do a search for Java and install sun-java6-jre and all should be well.

Once you download and save a .jnlp file, right-click on it and select Preferences and then the Open With tab. Select Java instead of OpenJDK. All should be well.

**Note that you do not need to totally remove OpenJDK. You can have both installed at once with no problems. Some people report having better performance on Minecraft using OpenJDK instead of Java, for example. So if you don’t mind taking up some extra space, there’s no problem if you do not remove it.

Источник

Running a Java Web Start Application

Running a Java Web Start Application From a Browser

You can run a Java Web Start application from a browser by clicking a link to the application’s JNLP file. The following text is an example of a link to a JNLP file.

Java Web Start software loads and runs the application based on instructions in the JNLP file.

Running a Java Web Start Application From the Java Cache Viewer

If you are using at least Java Platform, Standard Edition 6 or later, you can run a Java Web Start application through the Java Cache Viewer.

When Java Web Start software first loads an application, information from the application’s JNLP file is stored in the local Java Cache Viewer. To launch the application again, you do not need to return to the web page where you first launched it; you can launch it from the Java Cache Viewer.

To open the Java Cache Viewer:

  1. Open the Control Panel.
  2. Double click on the Java icon. The Java Control Panel opens.
  3. Select the General tab.
  4. Click View. The Java Cache Viewer opens.

The application is listed on the Java Cache Viewer screen.

Java Cache Viewer application

To run the application, select it and click the Run button, , or double click the application. The application starts just as it did from the web page.

Running a Java Web Start Application From the Desktop

You can add a desktop shortcut to a Java Web Start application. Select the application in the Java Cache Viewer. Right-click and select Install Shortcuts or click the Install button, .

A shortcut is added to the desktop.

You can then launch the Java Web Start application just as you would launch any native application.

Источник

Оцените статью