The Microsoft VM supports only applets under version 1.1

Source: Internet
Author: User

If you allow the Microsoft VM browser to open the applet that you compiled in the high version, you will see class <XXX> not found in the status bar and the Java console (if you are enabled) or Java.lang.NoClassDefFoundError errors and Java.lang.ClassNotFoundException exceptions.

You can use the Javac <XXX.java>-source 1.3-target 1.1 to build Java classes that the Microsoft VM can load, but that's far from enough: there are a lot of features that are not available in the lower version of Java. It is often the case that you will see some strange problems with the applets that you have written in the IE kernel browser. At this point, if you open the Java console, you will often see a similar error without the class, and so on, because you are using classes that are not supported by the Microsoft VM.

Another important thing: third-party browsers with IE as the kernel (such as surfing, Greenbrowser, windows of the world, etc.) do not use it because you are set to use the sun's JVM in IE, and I use the JVM on my computer anyway. The JVM icon appears in the tray when browsing the applet with IE. When roaming, there is no JVM icon, and the applet cannot be displayed, consistent with the use of the Microsoft VM. So I'm sure the Third-party browsers are using a Microsoft VM. I believe that these excellent third-party browsers will be improved in the future.

In addition: I am using XP SP2, is not a high version of Windows or Vista will not have this situation. I don't know.

But at least for now, I'm afraid it's not easy to make a very compatible applet ...

Contact Us

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: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.