Forums Register Login

in IE6.0, MS VM vs. Sun JRE

+Pie Number of slices to send: Send
hi,

Basically, my applet program creates instances of some other panels(each of them are individual classes) to use them as different pages in it.

And, now, i'm using IE6.0 with java plug-in for sun's jre support. when i run my applet program with sun's jre or appletviewer, it runs properly not even with single exception. but the same applet when i disable sun's jre option in IE's Tools >Internet Options >Advanced, and enabling all options under Microsoft VM, it throws an exception as below:

Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810
==============================================
java.lang.NoSuchMethodError: java/awt/GridBagConstraints: method <init>(IIIIDDIILjava/awt/Insets;II)V not found
at MainStreamPanel.jbInit
at MainStreamPanel.<init>
at BaseApplet.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run

So, just to clear this exception, i removed the gridlayout being used and then i execute with MS VM alone, it throws a new exception at LinkedList in some other file.

hope i'm clear with the explanation. culd anyone put their efforts in resolving it. thanks.

Akshay.
+Pie Number of slices to send: Send
The Microsoft Java Virtual Machine is an implementation of the Java 1.1.4 API, so it is lacking about 75% of the modern API. For example, java.util.LinkedList was introduced in the 1.2 API.
+Pie Number of slices to send: Send
thanks joe. but which release of MS VM supports the latest release of java. currently i'm using Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810, is this the latest?

bye bye
Akshay.
+Pie Number of slices to send: Send
No Microsoft VM is compliant with anything newer than the 1.1.4 API. They only update their VM to fix security holes.
+Pie Number of slices to send: Send
Hi,

I've developed a number of signed applets for the project I'm working on using JDK1.4.2, now I've been told that they actually need to run on the MS JVM as a legacy applet, which only runs on MS JVM, has to run in the same workflow as my applets.

I've tried stripping out anything that I could think of as being obviously Java 2, collections etc. and I then tried placing my classes in a CAB file and signing it using the MS SDK. I'm getting a ClassNotFoundException. I also tried checking that my Jars (compiled using target=1.1) would run in the appletviewer from JDK 1.1.8 but instead I get a FileNotFoundException there.

A major part of my problem might be that my signed applets use SAX to parse XML config files on the users machine. I've tried specifying that jaxp.jar should be downloaded (by specifying it in the archive param, is that correct??)

Does anyone know how to specify that the MS JVM should be used for the applets on a specific page, using <OBJECT> tags or whatever. This would solve my problem instantly. I know that HTML Converter can be used in the opposite manner.

Cheers
No holds barred. And no bars holed. Except this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1161 times.
Similar Threads
Alternatives to applets
Signing applet cab file for I.E. problem
Running Applet on Web
SecurityException
applet reload problem.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 21:59:17.