Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Like Windows, if you need to browse a webpage with a JAVA Applet, you need to install a JAVA virtual machine. The default virtual machine is Sun's jre (javaruntimeenvironment ), of course, microsoft's Java Virtual Machine can also be installed in Windows. We will not talk about this here. Sudoapt-getinstallsun-java6-jre of course, if you don't care so many M space or need to do JA and Windows, if you need to browse the Web page with JAVA applet, you need to install Java virtual machine, the default virtual machine is Sun's jre (java runtime environment). Of course, microsoft's java Virtual Machine can also be installed in Windows. We will not talk about this here.
Sudo apt-get install sun-java6-jre
Of course, if you do not care about the dozens of MB space or need to do JAVA-related development work, we recommend that you install JDK. JDK contains JRE.
Sudo apt-get install sun-java6-jdk
After the installation is complete, you still cannot view the webpage with the applet, because the browser plug-in has not been configured. Here we take FIREFOX as an example:
Cd to the/usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7 directory, you will find a file named libjavaplugin_oji.so, this is a dynamic link library (dll) file in linux. Regardless of the number of shortcuts, copy the shortcuts to the plug-in directory of FIREFOX.
Sudo chmod + w libjavaplugin_oji.so
Sudo chmod + w/usr/lib/firefox/plugins
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.