- JNLP file is associated with the Java Web Start program and helps launch applications from a remote desktop client.
- Misconfigured file type association or missing Java Runtime Environment can lead to JNLP file not opening problems.
- Windows 64-bit users may require to install the 64-bit JRE version on top of their existing JRE installation.
- You can also set the default app for JNLP file type from the Default Apps settings.
Windows OS, by default, associates each file with an application that runs it.
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.
However, several users have reported the JNLP file not opening issue when trying to access the file. Even if you have the required software to open .jnlp file, it may fail to launch automatically.
Since the JNLP files are program-specific, your computer may fail to recognize the software required to execute the file.
In this article, we take a look at what is a JNLP file format and how to resolve the JNLP file not opening problem in Windows computers.
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 must have Java Runtime Environment installed.
While JNLP is part of Java Web Start technology, it comes bundled with Java Runtime Environment to open the JNLP files.
How do I open a JNLP file in Windows 10?
- Download and install Java Runtime Runtime Environment. Run the installer and follow on-screen instructions to install the program.
- Right-click on the JNLP file that is not opening and select Open With.
- In the ‘How you want to open this File’ window, scroll down and click on Look for another app on this PC option.
- When the File Explorer window opens, navigate to the following location:
C:\Program Files (x86)\Java\jre1.8.0_261\bin
- Select javaws.exe and click the Open button. This will open the JNLP file as intended.
- Make sure to check the Always use this app to open .jnlp files option in the How do you want to open this file window to save JRE as the default app to open this file.
If the JNLP JNLP file is still not launching, proceed with the next set of steps below.
Install 64-bit JRE edition
- Visit Java download center.
- Scroll down and click on Windows offline (64-bit) link to download the offline installer and wait for the download to complete.
- Once the download is complete, double-click on the installer to run it. Follow on-screen instructions to install the app.
- Once installed, reboot the computer. After the restart, try opening the JNLP file and check for any improvements
If you are using a 64-bit edition of Windows, you may need to manually download and install the 64-bit JRE version.
Several users have reportedly fixed the JNLP file not opening problem by installing the correct edition of the Java Runtime Environment.
How do I run a JNLP file in Windows Command line?
- Select a link on a Web 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.
- Next, in the command prompt, type the following command and hit enter to execute:
- In the above command, <URL> is the location of a .jnlp file.
How do I automatically open JNLP files?
- Press the Windows key + R on your keyboard to open Settings.
- Click on Apps.
- From the left pane, click on the Default Apps tab.
- Scroll down and click on Choose default apps by file type.
- Scroll down to .jnl file type and click the Choose a Default button.
- Select Java(TM) Web Launcher.
- Close the Settings window and open File Explorer.
- Now locate and double-click on the JNLP file to see if it opens automatically.
Windows system requires JRE to run JNLP files. At times, if the file is associated with other programs, it may result in the JNLP file, not opening problem.
Installing JRE or manually choosing the default file association in settings can help you resolve the issue.