Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running an applet in IE on MAC OD9.2



Hi,

I want to run an applet in IE on macos9.2.
iam using the latest version of IE and i upgraded to MRJ2.2.

You should be aware of the fact that Mac OS 9.x only supports JDK 1.1.8 - there is no Java 2 compatible Virtual Machine available for this OS.
when i access the page with the applet its throwing an exception and
applet loading is failed.

This happens because your code was probably compiled on Mac OS X or on another machine with a newer JDK.


If you do this, you should set the -target flag for javac accordingly. Otherwise, the old MRJ will not be able to execute classes compiled in the newer format.

On the same topic, please note that there are a _lot_ of features in Java 1.2 to 1.4 that you cannot use on older versions. Check your source code for API calls newer than 1.1.8 - you will probably find quite a few...

The Exception is as follows,

java.lang.ClassFormatError : Bad Major version Number

the above is exactly what you are seeing here.

Can anyone help me in this.. My code work fine in Safari on OS10.

That will not help you. Safari on Mac OS X supports Java 1.4.


any information will be of great use...

Thanks in advance
Rajesh Kumar
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Running an applet in IE on MAC OD9.2 (From: Rajesh Kumar <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.