hi,
what u r saying is that if i compile the code in jdk1.3 with the
-target as 1.1.1 it will work...
in my applet i am using java DnD to upload some files to the server.
It has to work on windows also... Can u pls tell me how it can be
ported to MAC os9..
Or any alternative method to support the Java DnD..
Thanking you
Rajesh Kumar
On Tue, 28 Sep 2004 15:44:56 +0200, Tamas Vertse <email@hidden> wrote:
> Hi Rajesh,
> I also develop cross-platform applets (Linux/Windows/OS 9/OS X) and I
> had the same problem.
> Unfortunately, OS 9 only support a very ancient Java version (1.1.8).
> My experience is that Java 1.4 and above versions can not create -
> always - really Java 1.1 compatible code.
> Because of the above problem, I use Java 1.3.1 with "-target" flag for
> compiling applets to avoid bad major version number errors.
> Although, I compile my code with a Sun's 1.3.1_08 JDK for Linux, but you
> may be got the same result with an 1.3.1 compatible OS X MRJ.
>
> Tamas
>
>
>
> Ralph Scheuer wrote:
>
> > 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
> >
> >
>
>
_______________________________________________
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