How to Open a JNLP File in Windows 11

Last updated on November 10th, 2026 at 10:13 am

Double-clicking a JNLP file in Windows 11 works once you install OpenWebStart, a free, open-source replacement for Java Web Start. Leave its .jnlp file association option on during setup, then double-click the file. If an app requires Oracle’s own launcher, install Java 8 and open the file with javaws.exe. Windows 10 works the same way.

Only open JNLP files from sources you trust, because a JNLP file can download and run a full program on your PC.

What a JNLP file is, and why Windows 11 won’t open it

JNLP stands for Java Network Launch Protocol. A .jnlp file is a short text file (written in XML) that tells a launcher where to download a Java program, which Java version it needs and how to start it. It doesn’t contain the program itself. You usually get one by clicking a Launch or Start button on a website, for example to open a server’s remote console or an older business app.

The program that used to read these files, Java Web Start, came with Java for years. Oracle deprecated it in Java 9 and 10, and Oracle’s Java SE support roadmap confirms that Java 11 and every later version no longer include it. Java 8 is the last release that still has it. That’s why installing the newest Java doesn’t help, and why Windows 11 shows a generic icon or asks which app to use when you double-click a .jnlp file.

Which method should you use?

  • OpenWebStart (Method 1): the best choice for most people. It’s free for personal and business use, works on Windows 10 and later, and doesn’t need Java installed first.
  • Oracle Java 8 (Method 2): use it only when the app’s provider or your IT team tells you to. Oracle’s license allows personal and development use at no cost, but commercial use needs a paid Java SE Subscription.
  • Command Prompt (Method 3): handy for testing, opening a JNLP link directly or seeing error messages.

Avoid installing both OpenWebStart and Oracle’s Java 8 Web Start unless you have to. The OpenWebStart FAQ notes that the two can conflict over which one owns .jnlp files.

Method 1: Open the file with OpenWebStart

  1. Go to the OpenWebStart download page and download the Windows installer. The current stable release is listed as version 1.14.0, offered as a 64-bit (x64) .exe for Windows 10 or higher.
  2. Run the installer, accept the license and select Next. Choose whether to install for just your account or for all users. The default folder is C:\Program Files\OpenWebStart.
  3. On the file association screen, make sure the box that associates .JNLP and .JNLPX files with OpenWebStart is checked. This is the setting that makes double-clicking work. Select Next, wait for the install to finish, then select Finish.
OpenWebStart installer screen with the option to associate .jnlp and .jnlpx files checked
Keep both file associations checked: the default JNLP type and the custom JNLPX type. Then choose Next. This recreated installer uses the documented association choices; it does not install anything or change a default app.
  1. Open File Explorer, go to your Downloads folder (or wherever you saved the file) and double-click the .jnlp file.
  2. If the app needs a Java version you don’t have, OpenWebStart’s JVM Manager can download one for you. Depending on its settings it may ask first, so approve the download when prompted. This only happens the first time.
  3. A security dialog shows the app’s name and publisher. If you recognize them, approve it. The program’s own window then opens, which means it worked.

OpenWebStart bundles a small Java runtime just for itself, so you don’t need to install Java separately. Downloaded runtimes are stored in your user profile, not in Program Files.

If double-clicking still doesn’t use OpenWebStart

  1. Right-click the .jnlp file and select Open with > Choose another app.
  2. Pick OpenWebStart from the list. If it isn’t there, select Choose an app on your PC, browse to C:\Program Files\OpenWebStart and select javaws.exe.
  3. Select Always so every .jnlp file opens this way. Just once opens this file without changing the default.
Windows 11 Open with dialog with OpenWebStart selected and the Always button highlighted
Select OpenWebStart and choose Always for .jnlp files. If it is missing, Choose an app on your PC lets you browse for it. This focused recreation shows illustrative app choices; no file was launched and no association was changed.

You can also set it in Settings > Apps > Default apps: type .jnlp in the search box, select the result and choose OpenWebStart. Our guide to setting default apps in Windows 11 covers that screen in more detail. The same screen sets the app for other file types, for example when you change the default PDF viewer in Windows 11.

If the app needs a specific Java version

Some older apps, especially server consoles, only run on Java 8. To check, open the .jnlp file in Notepad and look for a <j2se or <java line with a version= value such as 1.8. OpenWebStart normally picks a matching runtime by itself. If the app still fails, open OpenWebStart Settings from the Start menu, go to the JVM Manager section and make sure a Java 8 runtime is listed and enabled, either by letting OpenWebStart download one or by adding a Java 8 folder already on your PC.

OpenWebStart Settings JVM Manager listing a Java 8 runtime
The Java 8 runtime appears as version 1.8 in JVM Manager, alongside a newer runtime. These runtime entries are illustrative, and path details are hidden with gray bars. No runtime was installed or enabled.

Method 2: Use Oracle Java 8 and javaws

Oracle describes Java 8 as the only supported version of its Web Start technology, with extended support running until December 2030. Use this route when a vendor’s instructions say “Java 8” or “Oracle Java” specifically.

  1. Go to the java.com download page and download Windows Offline (64-bit). If your workplace uses Java for business, ask IT before installing, because commercial use needs a Java SE Subscription.
  2. Run the installer and follow the prompts. Restart your browser afterward.
  3. Double-click the .jnlp file. The Java 8 installer usually registers itself for .jnlp files, so the app should start after a security prompt.
  4. If Windows asks which app to use, right-click the file, select Open with > Choose another app > Choose an app on your PC, and browse to C:\Program Files\Java\jre1.8.0_xxx\bin\javaws.exe, where xxx is your update number. The 32-bit version lives under Program Files (x86) instead. Select Always.

Keep Java 8 updated, since old copies miss security fixes, and uninstall it once you no longer need the app. For everyday Java programs, our guide on getting Java for Windows explains the newer free builds, which don’t include Web Start.

Is OpenWebStart safe and free?

It’s an open-source project released under the GNU GPL version 2 with the Classpath Exception, so there’s no charge for home or business use. Paid support plans exist for companies but aren’t required. Download it only from openwebstart.com.

Method 3: Launch it from Command Prompt

Both OpenWebStart and Java 8 provide a javaws command. Running it from a terminal is useful when double-clicking gives no feedback.

  1. Select Start, type cmd and open Command Prompt.
  2. Type javaws, a space and the file’s full path in quotes, for example javaws "C:\Users\Alex\Downloads\console.jnlp", then press Enter. You can use the web address of a JNLP file instead of a path.
  3. If Windows says javaws isn’t recognized, use the full path to the program, such as "C:\Program Files\OpenWebStart\javaws.exe", followed by the file path.

Any error text that appears in the window or in a dialog is worth copying if you need to contact the app’s provider.

Check what a JNLP file will launch

Because a JNLP file is plain text, you can read it safely before running it. Right-click it and select Open with > Notepad (if you only see a short list, choose Choose another app first). Look for:

  • codebase and href: the web address the program downloads from. It should match the site you expected.
  • <jar href=: the program files that will be downloaded.
  • <j2se or <java version=: the Java version the app asks for.
  • <all-permissions/>: the app wants full access to your PC, which is normal for signed business tools but a reason to be sure of the source.

Opening a JNLP file in Notepad only shows its contents. It doesn’t run anything. If you can’t see the .jnlp ending at all, turn on file extensions in Windows 11 so you can tell it apart from other downloads.

Remote server consoles (iDRAC, iLO, IPMI and KVM)

Many server management pages hand you a JNLP file for their virtual console. Before setting up Java, look in the console settings for an HTML5 option, which runs in the browser with no Java at all, or update the server’s firmware to get one. If the server is too old for that, use OpenWebStart with a Java 8 runtime selected in the JVM Manager. Some very old console applets won’t run on anything newer than Java 8.

Downloads instead of launching, or text in Notepad

The browser downloads the file but nothing opens

Modern browsers don’t run Java themselves; they just save the .jnlp file. Press Ctrl + J to open your downloads and select the file, or double-click it in File Explorer. If your browser warns about the download, choose to keep it only if you trust the site.

The file opens as text in Notepad or the browser

The file association points to the wrong app. Follow the steps in If double-clicking still doesn’t use OpenWebStart. If a site serves a .jnlpx file that shows as text, save it and open it with OpenWebStart, which registers that extension too.

“Application Blocked by Java Security” (Java 8)

Java 8 blocks apps that aren’t signed in a way it trusts. If you trust the whole site, add it to the Exception Site List, as described on java.com’s Exception Site List page:

  1. Select Start, type Configure Java and open it.
  2. Go to the Security tab and select Edit Site List.
  3. Select Add, click in the Location field and type the site’s address, starting with https:// (for example https://console.example.com). Wildcards aren’t allowed.
Java Exception Site List dialog with https://console.example.com added
The Exception Site List dialog uses Add to create a Location entry. The sample https://console.example.com is fictional and has not been added to Java or visited. This image only illustrates the article’s Java 8 dialog.
  1. Select OK, then Continue on the security warning.

If the JNLP file comes from a different address than the page you launched it from, add both. A Deployment Rule Set set by your company overrides this list. OpenWebStart doesn’t use this list; it shows its own trust prompt, where you can choose to always trust that publisher.

The app downloads, then closes or shows “failed to launch”

  • Expired file: many JNLP files contain a one-time session token. Go back to the website and click Launch again for a fresh file.
  • Wrong Java version: check the version line in the file and select a matching runtime, as in If the app needs a specific Java version.
  • Blocked downloads: a VPN, proxy, firewall or antivirus can stop the program files from downloading. Try the jar address from the file in your browser to see whether it loads.
  • Stale cache: in OpenWebStart, run javaws -Xclearcache in Command Prompt. In Java 8, open Configure Java, go to General > Temporary Internet Files > Settings and select Delete Files.
  • Need details: in OpenWebStart Settings, open Logging, turn on Activate debug logging and Log to file, then try again. The OpenWebStart guide explains where the log files are saved.

Can I open a JNLP file on a Windows 11 PC with an Arm processor?

OpenWebStart’s download page lists only an x64 Windows installer, so Arm-based PCs aren’t on its official list. If you’re on an Arm PC and the app is important, ask its provider whether a browser-based or native version exists.

Once your app opens, save its shortcut if it offers one, and keep the website bookmarked so you can download a fresh JNLP file whenever an old one stops working.

How to confirm it worked, and how to undo it

Success looks like the program’s own window, such as a login screen or a remote console, opening after the security prompt. Some apps offer to add a desktop or Start menu shortcut so you can open them later without the website.

To undo, go to Settings > Apps > Installed apps, find OpenWebStart or Java 8 Update, select the three dots and choose Uninstall. Any shortcuts the app created can be deleted like normal shortcuts.