798335 wrote:It is all about the cross-compilation options of javac that you are probably not using when compiling the classes. The important ones are -source and -target, while an even more important option is -bootclasspath.
..I don't have an older version of JDK, but maybe I could download one. That's kind of funny, though. Until a couple weeks ago the applet had remained the same for 10 years, built with JDK 1.2. It was originally built with 1.1, but 1.2 came out while I was still active with it. I've gone thru a couple computers since then, and hadn't done another Java project until I decided to update the color wheel, adding a library of over 1500 color names.
I wonder what I'm using that older versions of the JRE don't support...
I wonder what I'm using that older versions of the JRE don't support...It's just the version number. When you compile with a v1.6 javac, the class file will have a version number of v1.6 -- unless you take the measures that Andrew outlined above. But since my plug-in is good for only v1.5 and less, it won't run anything higher than that. This is the reason I compile Applets with a v1.4 -- then hopefully, more older and newer browsers will have a plug-in that can run it. We already know how difficult it is to get people to upgrade their computer! Rich, here is my version of the ColorWheel Applet -- v1.4.