Java web start error jnlp

Я не могу запускать приложения JNLP с помощью «Java Web Start»?

До недавнего времени я мог запускать / открывать JNLP файлы в Firefox через Запуск Java в Интернете. Не знаю, что случилось внезапно JNLP файлы перестали запускаться, появляется заставка с надписью Запуск Java . а потом ничего не происходит. Даже Консоль Java в браузере и javacpl.cpl апплет не открывается. Пробовал все возможности: удалил все старые версии и установил последнюю JRE (версия java «1.6.0_17»), но она не работает. Сделал поиск по этой проблеме, люди предложили начать javaws.exe -взритель вариант, но с таким же поведением (появляется экран-заставка с надписью «Java Starting . «, а затем исчезает) Проблема в том, что я не знаю места (журналы и т. Д.), Где можно было бы найти причину проблемы. Я использую WinXP SP3, и на некоторых из приведенных ниже снимков экрана показана дополнительная информация о моей системе. При необходимости я могу предоставить любую другую информацию, но, пожалуйста, помогите мне решить эту проблему.

16 ответы

C: \ Documents and Settings \ akjain> javaws — я понял img519.imageshack.us/img519/5225/javaws.jpg. Как сказано выше, если я введу «javaws somefile.jnlp» или «javaws -viewer somefile.jnlp», всплеск java появится, а затем исчезнет. — Акджайн

Удалил JAVAWS_HOME, а затем запустил «javaws -verbose Subway.jnlp». Появится это окно (img689.imageshack.us/img689/535/javawsverbose.jpg), а потом ничего не происходит. — Акджайн

Вот файл JNLP, который я использовал, и некоторые файлы, которые часто обновляются в папке Temp ——> JNLP->site.google.com/site/drjohnbmatthews/subway/… java_install_reg.log -> pastebin.com/m7d1a2f2 челюсти2 -> pastebin.com/m7d5d7740 — Акджайн

Очень частая причина — поврежденный кеш. Панель управления java позволяет очистить и даже отключить использование кеша. — Торбьёрн Равн Андерсен

Панель управления Java - Храните временные файлы на моем компьютере

у меня была такая же проблема. перейдите в панель управления Java и настройки . Снимите флажок «Хранить временные файлы на моем компьютере». Примените изменения и попробуйте еще раз свой .jnlp Примечание: проверено на разных машинах; Windows Server 2012, Windows Server 2008 и Windows 7 64-разрядная. Версия Java: 1.7 ++, так как мое приложение jnlp построено на 1.7 Пожалуйста, дайте мне знать и свой отзыв. : D

Я знаю, что это более старый вопрос, но на прошлой неделе я начал сталкиваться с аналогичной проблемой, поэтому я оставляю здесь несколько заметок относительно решения, которое мне подходит. Это произошло только на некоторых машинах с Windows, использующих даже последнюю на сегодняшний день JRE (1.8.0_45). Java Web Start начал загружаться, но ничего не произошло, и ни одна из предыдущих попыток решения не сработала. После некоторого покопания я нашел эту ветку, которая дает ту же настройку и отличное объяснение. https://community.oracle.com/thread/3676876 Итак, в заключение, это была проблема с памятью в x86 JRE, и поскольку максимальная куча нашего JNLP была определена как 1024 МБ, мы изменили ее на 780 МБ, как было предложено, и это было исправлено. Однако, если вам нужно больше 780 МБ, всегда можно попробовать запустить версию x64 JRE.

Читайте также:  Java time between date

Отлично, это работает. В нашем случае -Xms в файле JNPL должен быть равен -Xmx, установленному в _JAVA_OPTIONS. — Роберманн

Хотя этот вопрос немного устарел, проблема была вызвана поврежден параметр реестра ClearType и решается путем его исправления, как описано в этом ClearType, install4j и случай ошибки Java после.

Источник

Fix: JNLP File Not Opening/Launching Automatically

fix JNLP file not opening in Windows

To fix Windows PC system issues, you will need a dedicated tool Fortect is a tool that does not simply cleans up your PC, but has a repository with several millions of Windows System files stored in their initial version. When your PC encounters a problem, Fortect will fix it for you, by replacing bad files with fresh versions. To fix your current PC issue, here are the steps you need to take:

JNLP (Java Network Launch Protocol) is a file format that enables an application to be launched on a client desktop by using a remote web server. But for many, the JNLP file is not opening.

Windows associates each file format with an application that runs it also called the default app. If the JNLP file is not opening in Windows 10, there’s usually a problem with the associated program or the association itself. Let’s find out all about the problem.

What is a JNLP file?

Java Network Launch Protocol (JNLP) format contains information such as the remote address for downloading a Java program and other classes. JNLP files are used for launching and managing Java applications over a network.

JNLP files are usually in the XML file format. To view and edit the file, you must have a text editor with the XML file format. To execute the file, your computer should have Java Runtime Environment (JRE) installed.

Why can’t I open JNLP files?

Here are a few reasons the JNLP file is not opening in Windows 11:

  • Java not available: Though not necessary due to the availability of other ways, many prefer opening JNLP files with JAWA WS, which comes bundled with Java. So, you will need to install Java.
  • Improper file association: File association plays a vital role in identifying the app required to open a particular file type, and if the JNLP file is not opening in Windows 7 or a recent iteration, this could be to blame.
Читайте также:  Javascript document get all elements

How do I open a JNLP file?

1. Manually with Java WS

  1. Download JRE, run the setup, and follow the on-screen instructions to complete the process.
  2. Once done, restart the computer for the changes to come into effect.
  3. Now, right-click on the JNLP file, and select Properties.properties
  4. Click on the Change button.change file association to fix JNLP file not opening
  5. Click Choose an app on your PC.choose an app on the PC
  6. Navigate the following path (the JRE version may be different in your case): C:\Program Files (x86)\Java\jre1.8.0_361\bin
  7. Select jawaws, and then click Open.jawaws when JNLP file not opening
  8. Now, with the jawaws entry selected, click on Set default.set default
  9. Finally, click on Apply and then OK to save the changes.apply

So if you were wondering how to run a JNLP file in Java, this should do. Also, if the JNLP file was not opening with JavaWS earlier, reconfiguring the file association as we did earlier should do the trick.

2. With a text editor

  1. Right-click on the file, hover the cursor over Open with, and select Notepad.notepad when JNLP file not opening
  2. If the option isn’t available right away, you can click on Choose another app earlier, and then select Notepad or Notepad++.notepad

For those wondering how to open JNLP file without Java, you can always use Notepad. Though remember, here, you can only view the content. Also, you can use Notepad++, an open-source software that allows tabbed editing for enhanced workability.

3. Via Command Prompt

  1. Select a link on the page that refers to a .jnlp file. If your browser does not have the correct association to run Web Start applications, select the install_dir/jre/bin/javas command from the Open/Save window to start the Web Start application.
  2. Now, press Windows + R to open Run, type cmd, and hit Ctrl + Shift + Enter .cmd
  3. Next, in the command prompt, type the following command and hit Enter while replacing with the location of the .jnlp file: Javaws command

How to automatically open Java Web Start Application JNLP files?

  1. Press Windows + I to open Settings, select Apps from the navigation pane, and click on Default apps.default apps
  2. Search for .jnlp in the text field, and click on the relevant result.file association to fix JNLP file not opening
  3. Now, select Java Web Start Launcher, and click on Set Default.java web start launcher

This way, you can set the default file association for JNLP files, and they will automatically launch using Jawa Web Start Launcher the next time. Also, if the JNLP file is not opening in the browser, you can always download it and use Java WS to access it.

That’s it! You should not face trouble opening JNLP files anymore in Windows. Also, find out what to do if you get the Java Runtime Environment not found error.

For any other queries or to share other methods, use the comments section below.

Источник

Браузер не обрабатывает JNLP-файлы, а только сохраняет

Java

Всемирная сеть сделала свои коррективы в жизнь обычных людей. Во многом это стало возможным благодаря технологии Java Script, которая сделала огромный скачок вперед. Еще каких-то 15 лет назад люди и не думали, что с помощью интернета они будут заказывать пиццу на дом или покупать билеты до Токио. Человек, который не имеет понятия, как настроить ноутбук, тем не менее управляет всеми современными благами можно через обычный браузер.

Протоколе Java Network Launching Protocol (JNLP) используется для запуска web-приложений технологии Java Web Start. Обычно обработка JS не вызывает проблем в современных браузерах, но с конкретно этим типом файлов бывает такая проблема, что браузер не открывает JNLP-файлы, а лишь предлагает их сохранить:

Чтобы исправить эту оплошность потребуется:

1. Скачать свежую версию Java

Зайдите на сайт https://www.java.com/ru/ и установите себе Java

2nd

2. Настройте безопасность Java-приложений.

После того, как вы установите Java на компьютер следует произвести настройку. Для этого зайдите в Пуск -> Все программы -> Java -> Configure Java

3rd

В настройках находим вкладку «Security». В ней будет специальное окно для сайтов, на которых разрешен запуск любых Java-приложений. Нажимаем «Edit site list» и добавляем туда сайт, который не дает запустить JNLP-файл:

4th

Учитывайте, что при добавление сайта есть имеет значение префикс HTTP или HTTPS. После настройки — перезапустите браузер, если он был открыт.

3. Проверить ассоциацию (сопоставление) типов файлов к приложениям

Если предыдущий способ не помог, то следует проверить нужное ли приложение использует (с нужной ли программой ассоциируется) система для открытия JNLP-файлов.

Windows 98/ME/XP

«Пуск» -> «Панель управления» -> «Свойства папки» -> «Типы файлов». Ищем JNLP

5th

Windows 7/8/10

«Пуск» -> «Панель управления» -> «Программы по умолчанию» -> «Сопоставление типов файлов или протоколов конкретным программам»

6th

Свой вариант исправления этой ошибки пишите в комментарии.

Источник

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