• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Tech Spirited

Tech Spirited

  • Home
  • About
  • Contact
  • Articles

What is a JNLP File and How to Open it?

Have you ever stumbled upon this file extension and wondered what a JNLP file could be? On being told the full form, which is Java Network Launching Protocol, has an array of questions risen in your mind? Then, you may keep calm and take a look at this Techspirited write-up, where we have not only explained everything there is to know about JNLP files, but also provided a guide to opening them.

You are here: Home / IT Jobs / What is a JNLP File and How to Open it?

Like it? Share it!

  • Share
  • Tweet
  • LinkedIn
  • Email
What is a JNLP File and How to Open it?

Have you ever stumbled upon this file extension and wondered what a JNLP file could be? On being told the full form, which is Java Network Launching Protocol, has an array of questions risen in your mind? Then, you may keep calm and take a look at this Techspirited write-up, where we have not only explained everything there is to know about JNLP files, but also provided a guide to opening them.

An Important Clarification

JNLP, which stands for Java Network Launching Protocol, is not a network protocol, although its name seems to suggest otherwise. In fact, it is the file extension that is generally used to create Java applications designed for the Java Web Start framework. Any information accessed remotely via Java Web Start is acquired only using the standard web protocol, HTTP.

Would you like to write for us? Well, we're looking for good writers who want to spread the word. Get in touch with us and we'll talk...

Let's Work Together!

It is unlikely that any frequent Internet user would be unfamiliar with Java applets. These are programs written in Java that are embedded inside web pages and run independently as miniature executable applications on the web browser itself, without the need to complete any kind of installation procedure. Java applets were previously very popular in the online gaming domain, as after all, no one can be critical of a system that lets one play one’s favorite games online, on the go, without having to undergo the hassle that accompanies downloading them.

However, it became quite evident that Java applets have limitations. They could only function if the web browser supported them, and also required the installation of specific plug-ins. The release of subsequent versions of Java also became a problem because cross-compatibility between versions was not entirely supported. Eventually, the practice of using applets lost its charm, and today, applets are not as widely employed.

Instead, games, utilities, and other kinds of mini software that can be accessed online are distributed in the form of Java applications. Java applications starkly differ from applets because, apart from running in a separate, independent window (as opposed to out of the web page that they are lodged in the middle of, as is the case with applets), they additionally require a client program, which needs to be installed on the user’s computer, without which they cannot be launched. Java applications are packed into files that have the JNLP extension, and these are in turn downloaded by users to their respective computers.

Understanding JNLP Files Better

As mentioned before, in order to run them, users need to download Java applications to their computer, and it is this downloadable file of the Java application that carries the .jnlp extension. JNLP files are of the XML file format.

Although the Java Network Launching Protocol is the name of the extension and not an actual protocol, it sort of symbolically represents a protocol used to access remotely located files. Essential files that are required to run the Java application are stored on the remote Java server. The JNLP client, namely the Java Web Start framework, retrieves these remotely located files, and then takes on its primary role of launching the Java application. Of course, the application cannot run unless the Java Runtime Environment (JRE) exists on the user’s computer.

The purpose of this client-server architecture implemented by Java is not merely to launch applications, but to have complete control over their management. For example, the server can make different features available to different clients, based on certain discerning factors like location.

How To Open a JNLP File

JNLP files are automatically launched by Java Web Start, if an attempt to open them on a computer, on which any version of Java has been installed, is made. The process is so quick that the Java application will immediately run as soon as the link to it is clicked from a compliant, and well-equipped browser (such as Google Chrome or Mozilla Firefox).

However, sometimes Java Web Start may not be specified as the default application to open JNLP files, and because of this you may not be able to open the file that you want. Here are the steps to follow to open a JNLP file that refuses to run automatically.

Would you like to write for us? Well, we're looking for good writers who want to spread the word. Get in touch with us and we'll talk...

Let's Work Together!

1. Locate the file you wish to open that has the .jnlp extension, on your computer.

2. Right-click on the icon of the file, and select Properties from the menu that drops down.

3. In the Properties window of the .jnlp file, select the General tab.

4. Check whether the name of the application listed next to the ‘Opens with:’ attribute is Java (TM) Web Start Launcher. If it is stated as javaws.exe too, it is referring to the same program.

5. The application program listed here is the default one that your computer uses to open JNLP files. If it is not Java (TM) Web Start Launcher, you need to change this setting. Click on the button labeled ‘Change‘, located right next to the listing.

6. In the window that opens, peruse through the list of programs that Windows suggests you can open such files with, and locate javaws.

7. If you cannot locate it in the list, click the button labeled ‘Browse‘ that is located below the list of applications.

8. In the browsing window that allows you to pick the application you want, open the following path:

C:\ → Program Files → Java → jre[version installed on your computer] → bin

Java Web Start is a part of the Java Runtime Environment package, and gets downloaded along with it onto your computer. However, if you have downloaded it separately from Oracle’s Java website, you may also find the javaws.exe application program at this path:

C:\ → Program Files → Java Web Start

9. In this folder, double-click on the application named javaws.

10. Back in the Properties window, click on the button labeled ‘Apply‘ located at the bottom of the window. The default application with which JNLP files will be launched on your computer has now been explicitly set as Java Web Start.

If you are unable to open Java applications on your computer, ensure that the Java Runtime Environment has been installed on your computer properly. You can download it for free from java.com. If necessary, download Java Web Start Launcher separately from Oracle’s website.

Another reason for the problem of being unable to open JNLP files may be that, the feature of launching them itself may be blocked. Here is how you can unblock it:

1. Open the Start menu.

2. In the Start menu, locate and click on Control Panel.

3. Inside your computer’s Control Panel, click on Programs. It is located right at the bottom of the window.

4. Locate and click on Java. This will open up the Java Control Panel window. It is an application that exclusively allows you to manage and modify settings related to Java.

5. Click on the tab labeled ‘Advanced‘.

6. From the list of settings, find ‘JNLP File/MIME Association‘. From the options, select either ‘Prompt user‘ or ‘Always allow‘. If the setting is ‘Never allow‘, your computer will never be able to run a JNLP file.

We hope we were able to throw some light on the purpose of JNLP files, as well as guide you to successfully open them.

Related Posts

  • How to Open a Zip File

    Multiple files can be stored in a single zipped file. It also reduces the total combined size of the files. If you want to learn how to open a zip…

  • How to Open a Dat File

    Many times, we are confronted with the situation of finding out how to open a dat file. Well, this article has been written to help solve this query.

  • Open Vs. Closed Headphones

    If you're confused between open and closed headphones, this Techspirited article should help. Here's a look at how things pan out in the battle of open vs. closed headphones.

« Previous Post
Next Post »

Category iconIT Jobs

Get Updates Right to Your Inbox

Sign up to receive the latest and greatest articles from our site automatically each week (give or take)...right to your inbox.
Blog Updates

Exploring the website?

Our site includes quite a bit of content, so if you're having an issue finding what you're looking for, go on ahead and use that search feature there!

Footer

We hope you are enjoying TechSpirited! We provide informative and helpful articles about the outlook for IT jobs throughout the U.S. Learn more about the career in IT you’ve always wanted, or find new tips to further your technology career.
  • Facebook
  • RSS

Copyright © Tech Spirited & Buzzle.com, Inc. All rights reserved.
6789 Quail Hill Pkwy, Suite 211 Irvine CA 92603

  • Privacy Policy
  • Terms of Use
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsAccept
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.