Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

in IE6.0, MS VM vs. Sun JRE

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 9612
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Akshay Kumar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Joe Ess
Bartender
Posts: 9612
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No Microsoft VM is compliant with anything newer than the 1.1.4 API. They only update their VM to fix security holes.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic