Target VM Microsoft? or Java Lint to check for MS VM compatibility?
From: Vincent Cate (vince_at_offshore.ai)
Date: 12/17/03
- Next message: Andrew Thompson: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Previous message: P.Hill: "Re: Eclipse: building an (non-j2EE) app jar file."
- Next in thread: Andrew Thompson: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Reply: Andrew Thompson: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Reply: Chris Smith: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Dec 2003 11:08:07 -0800
In my JBuilder8 I can only target my applet for different JDKs or
"All JDKs". I do not have a "target MS JVM" option.
So my applet (http://spacetethers.com/spacetethers.html) worked
in all Sun JDKs, but would not run under a microsoft VM,
which most IE users in the real world seem to be running.
I found out that the problem was things like:
Vector.remove(x) needs to be Vector.removeElement(x)
Vector.add(x) needs to be Vector.addElement(x)
Vector.add(x,y) needs to be Vector.insertElementAt(y,x)
And other such things. I suspect that the very earliest Java only
had the ones at the right and Microsoft never added the ones on
the left. I would rather use just the ones on the right, and
have done so now (found with help from someone not using JBuilder).
With this my applet is now far more portable.
But is there any way to get JBuilder to keep me from using anything
that would not work on a Microsoft VM?
Is there something like "lint" for C that I can use for my Java to
find anything that does not work on Microsoft?
I understand that I could ask all my users to install a Sun JDK,
and I do put a link right on the applet page, but I was still
loosing all kinds of users because they thought my applet was broken.
I worry that any day I might use something that breaks my applet
for my Microsoft users without knowing it.
-- Vince
- Next message: Andrew Thompson: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Previous message: P.Hill: "Re: Eclipse: building an (non-j2EE) app jar file."
- Next in thread: Andrew Thompson: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Reply: Andrew Thompson: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Reply: Chris Smith: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|