User Agents

Web browsers and everyday web tech, explained

Does Microsoft Edge Support Java? Answer

· 6 min read · Browsers

In this article
  1. Background: Java in Browsers
  2. How Java Works in Modern Edge
  3. Internet Explorer Mode for Legacy Java Applets
  4. How to Check if Java is Installed
  5. Common Problems and Solutions
  6. Java vs. JavaScript: A Common Misconception
  7. Alternatives to Java in the Browser
  8. Frequently Asked Questions

Yes, Microsoft Edge supports Java, but with an important caveat: modern versions of Edge (based on Chromium) do not support the Java browser plugin (Java Applets) that older Internet Explorer used. Instead, Edge runs Java applications and websites that use Java in other ways, such as through the Java Runtime Environment (JRE) installed on your system, but only for web content that does not rely on the NPAPI plugin. For legacy Java applets, you need Internet Explorer mode in Edge.

Background: Java in Browsers

Java, developed by Sun Microsystems (now Oracle), has two main web-related uses: Java applets (small programs that run inside the browser) and server-side Java (which powers many websites). Applets were popular in the late 1990s and 2000s, but they required a browser plugin. Modern browsers, including Edge, Chrome, and Firefox, have dropped support for the NPAPI (Netscape Plugin Application Programming Interface) plugin architecture that applets relied on. Microsoft Edge, first released in 2015, originally used its own EdgeHTML engine and also did not support Java applets. After switching to the Chromium engine in 2020, Edge still does not support applets natively.

How Java Works in Modern Edge

When you visit a website that uses Java (for example, a site that runs a Java-based chat client or a Java web application), Edge will prompt you to install the Java Runtime Environment (JRE) if it is not already installed. Once installed, the browser can run Java applications that are embedded in web pages using the <applet> tag? Actually, no—modern Edge does not execute applet tags. Instead, Java web content today is typically delivered via Java Web Start (which launches a separate application) or via server-side Java that runs on the web server and sends HTML to the browser. For example, many enterprise applications like banking portals or internal tools use Java on the backend, and they work fine in Edge because the browser only needs to render standard HTML, JavaScript, and CSS.

Internet Explorer Mode for Legacy Java Applets

If you absolutely need to run a Java applet (for example, an old corporate application), Edge offers an “Internet Explorer mode” (IE mode). This feature uses the Trident engine from Internet Explorer 11 to render pages that require legacy plugins. To enable IE mode:

  1. Open Edge and go to Settings > Default browser.
  2. Under “Internet Explorer compatibility,” set “Allow sites to be reloaded in Internet Explorer mode” to “Allow.”
  3. Restart Edge, then click the three-dot menu and select “Reload in Internet Explorer mode.”
  4. When prompted, confirm you want to open the page in IE mode.

Note that IE mode is designed for enterprise use and may require specific configuration by an administrator. Also, Java applets require an older version of Java (typically Java 8) and the Java plugin installed on your system. Even in IE mode, you may need to enable the Java plugin in the IE settings.

How to Check if Java is Installed

To see if Java is installed on your computer, you can:

  • Open a command prompt and type java -version. If Java is installed, you’ll see version information.
  • Visit the official Java verification page at java.com/en/download/help/version_manual.xml (this page checks your Java version).
  • In Windows, go to Control Panel > Programs and Features and look for “Java” in the list.

If Java is not installed, you can download the latest version from the official Oracle website. However, be aware that Java 8 is the last version that supported the browser plugin; later versions (Java 9 and above) do not include the plugin at all.

Common Problems and Solutions

Users often encounter issues when trying to run Java-based content in Edge. Here are some common problems:

  • “Java is not recognized” error: This usually means the JRE is not installed or the PATH variable is not set. Reinstall Java and ensure you check the “Add to PATH” option during installation.
  • Applets won’t load: If you’re trying to run an applet, remember that Edge does not support applets natively. Use IE mode or switch to a different browser like Internet Explorer 11 (if available) on older Windows versions.
  • Security warnings: Java applets often trigger security warnings because they are outdated and vulnerable. You may need to add the site to the exception list in the Java Control Panel.
  • Edge blocks Java downloads: Edge may block downloads of Java installers because they are not commonly used. You can allow the download by clicking the three-dot menu in the download bar and selecting “Keep.”

Java vs. JavaScript: A Common Misconception

Many people confuse Java with JavaScript. They are completely different technologies. JavaScript is a scripting language that runs natively in all modern browsers, including Edge, without any plugins. Java is a compiled programming language that runs on a virtual machine. Websites that use JavaScript (which is the vast majority of the web) work perfectly in Edge. Only sites that specifically use Java applets or Java Web Start will have issues. So, if a site says “Java is required,” it might actually mean JavaScript, which is already supported.

Alternatives to Java in the Browser

If you are a developer or a user dealing with Java-based web content, consider these alternatives:

  • Use a different browser: Internet Explorer 11 (on Windows 10 or earlier) is the only major browser that still supports Java applets, but it is deprecated and no longer supported by Microsoft.
  • Convert applets to Java Web Start: Java Web Start launches a standalone application, which does not require a browser plugin. It can be used from a web link, but it runs outside the browser.
  • Rewrite the applet in HTML5/JavaScript: For modern web development, replacing applets with JavaScript-based solutions is the recommended approach.
  • Use a virtual machine: For legacy applications, running an older operating system with an older browser in a virtual machine can be a workaround, but it is not convenient for general use.

Frequently Asked Questions

Does Microsoft Edge work with Java on Windows 11?

Yes, Edge on Windows 11 works with Java-based web applications that do not require the browser plugin. You need to install the Java Runtime Environment (JRE) separately. For legacy applets, you can use IE mode, but it is not enabled by default and may require administrative configuration.

Why does Edge say “Java is not installed” even though I have it?

This can happen if the Java plugin is not enabled in the browser, or if you have a 64-bit browser but only installed 32-bit Java. Edge is a 64-bit application by default, so you need the 64-bit version of Java. Also, ensure that Java is enabled in the browser’s site permissions (Settings > Cookies and site permissions > Java).

Can I run Java applets in Edge?

No, not directly. Edge does not support the NPAPI plugin required for applets. You must use Internet Explorer mode, which requires the IE mode feature and an older Java version (Java 8) with the plugin installed.

Is Java safe to use in Edge?

Java itself is generally safe if you keep it updated. However, Java applets have a history of security vulnerabilities, and Oracle no longer supports the browser plugin. Using Java for web content is not recommended for security reasons. If you must use it, ensure you have the latest updates and only run applets from trusted sources.

Does Edge support Java for Minecraft?

Minecraft is a Java-based game, but it runs as a standalone application, not in the browser. You can download and run Minecraft using the Java launcher, and Edge is not involved. So yes, you can play Minecraft on a computer with Edge installed, but Edge itself is not needed.