68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
MRJ 2.0 and Swing 1.x
Posted by: silvercreekvalley on 2024-04-08 04:13:21
Our trusty 68040 Mac's will run Apples Java distribution MRJ 2.0 - which equates to JDK 1.3 as far as I know.

This version in theory can run Swing 1.0 and Swing 1.1, but I've struggled to install this. I've found Swing 1.1.1 distributions in hqx form, which decompress into a folder containing the swing distribution, but this is difficult to run as the versions I've seen are all setup for Windows so applet files '.html' are not recognised, and there is no easy way of configuring the class path.

Has anyone had any success with this?

I realise it will be 'slow' but I dont care - this is just for fun - and to get some software I wrote decades ago running on a Quadra again 🙂
Posted by: silvercreekvalley on 2026-02-25 05:52:55
Well just to answer my own question - but hey.

MRJ 2.0 is JDK 1.1.3. In theory this could run Swing. I did get Swing running on MRJ 2.2 successfully.
Posted by: adespoton on 2026-02-25 14:16:44
I have to say, you're a glutton for punishment! I tried using JDK 1.1.3 when it came out with Swing, and EVERYTHING was configured for Windows. I didn't have that problem on a SunStation, but on my 68k Mac, it was like I was fighting with Windows at every turn. I eventually gave up and used TCL/TK because while it's slow and awkward-looking, it just worked and was portable to other environments (I used the same basic UI in Perl and Python projects).

In fact, that bad experience with Swing led me to avoid it for all projects later on as well, using AWT instead.
Posted by: finkmac on 2026-02-25 18:45:58
maybe this might be useful for your efforts
1