Pre-requisite: Java Tutorials
This article is about the support of Java on browsers.
Why we need the support of Java on a browser?
If you learned or have some knowledge or have worked in Java then it is likely that you must have come across this concept of Java Applet. So, an Applet is nothing but a Java program but the only difference is that it cannot directly run on a standalone machine. It needs a web browser to run. It is easily embedded within an HTML page and is a client-side concept i.e. runs on client-side.
So, to run Applet, we need a Java-enabled browser. Browsers come with a Java plugin that allows the execution of an Applet on it. And so, the browsers that come to Java enabled, can run Applet without any hassle.
So, now that we know why we need browser support for Java, let’s start with the list of browsers that support it today.
Browser that supports Java:
Browsers require Java plugin which depends on NPAPI (Netscape Plugin Application Programming Interface). Today, the majority of the well-known browsers have dropped the support for that.
Here are browsers that do not support Java Applet any more:
- Google Chrome
- Microsoft Edge
So, as you can see that all these browsers not longer support Applet. Even the newer versions of Oracle’s JDK does not come with the support of the Java browser plugin.
The reason for dropping the support was because of security issues and risks that were found.
But there is Internet Explorer that still has the support for Java Applet. So, today Internet Explorer is the only browser that supports Java Applet.
How to enable Java in Internet Explorer?
Following are the steps to enable Java on Internet Explorer:
- Click on the ‘Tools’ icon on the top right corner of the window or press Alt+X, if on windows.
- Then for the menu select ‘Internet Options’.
- Then in ‘Security’ tab, click on ‘Custom level’.
- Now, In the pop-up, scroll down and search for ‘Scripting of Java applet’ and make sure it is enabled and click OK.
Note: There is another way if you still want to run Applet and security is not a concern and if you don’t want to use Internet Explorer, then you download an older version of any browser that did support Java Applet.
Attention reader! Don’t stop learning now. Get hold of all the important Java and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready.
- Difference between Applets and Servlets
- HTML | DOM applets Collection
- How to align checkboxes and their labels on cross-browsers using CSS ?
- Does Java support goto?
- How to Enable Copy and Paste in Oracle VirtualBox?
- How to enable Bootstrap tooltip on disabled button ?
- How to enable PHP's openssl extension to install Composer ?
- How to make sure clients have enough words in textarea by using angularjs in order to disable/enable a button?
- How to enable cURL in PHP?
- How to enable Button based on If statement in React.js ?
- Why doesn't Firefox support the MP3 file format before 2013?
- Perl | Warnings and how to handle them
- Problem in comparing Floating point numbers and how to compare them correctly?
- How to target all Font Awesome icons and align them center?
- Merge Conflicts and How to handle them
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.