Page 1 of 1

Mac Monterey and Oxygen Version 12

Posted: Tue Apr 05, 2022 7:58 pm
by richardeberhardt
Since I upgraded MacOS from Mohave to Monterey, when I try to launch Oxygen, I get error messages.
Since nothing was being logged, i started launching from the command line so that I could get some feedback: sh oxygenMac.sh
Once I did that, I started getting error messages.
Based on the error messages I did the following:
1. Complained about -XX:MaxPermSize=256m\ value
removed this value from the oxygenMac.sh file
2. Improperly specified VM option 'SoftRefLRUPolicyMSPerMB=10#'
Changed to: SoftRefLRUPolicyMSPerMB=2500 in the oxygenMac.sh file
After these changes, I was able to get a bit farther which in this case is a dialog box warning that:
The Java Virtual Machine used to launch <oXygen/> XML Editor is not supported (running JDK 18)
When I choose the Continue button the I get a strange error message :
Cannot start <oXygen/> XML Editor.
Due to:java.lang.StringIndexOutOfBoundsException
Range [0, 5) out of bounds for length 2.
java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 2....
I know that it is always a challenge to make old software work on new platforms.
Any suggestions would be appreciated.
Thanks,
Rich

Re: Mac Monterey and Oxygen Version 12

Posted: Wed Apr 06, 2022 9:44 am
by adrian
Hello,

Just a check. Are you really asking about Oxygen v12 (twelve)? No typo?
Oxygen v12 was released in 2010 and works with Java 6. It might work with Java 8 (not tested), but there's no way it would support Monterey or even Mojave. It definitely will not work with Java 9 or later.

Not sure how you had it running on Mojave. Perhaps you had the legacy Java SE 6 package installed, even though that doesn't support Mojave.

In short, I believe this is now a lost battle.

Regards,
Adrian

Re: Mac Monterey and Oxygen Version 12

Posted: Wed Apr 06, 2022 3:41 pm
by adrian
You might be able to get it to work by installing the legacy Java SE 6 package by using this method:
https://forums.macrumors.com/threads/ja ... t-30565990
But this is basically a hack to get the Java SE 6 package installed on an unsupported OS. There are no guarantees and it could be very flaky (might break after an OS update). Definitely not something to be used in production.

Regards,
Adrian

Re: Mac Monterey and Oxygen Version 12

Posted: Wed Apr 06, 2022 8:51 pm
by richardeberhardt
Thank you all for your suggestions.
I decided that instead of trying to get my version to work in the Monterey environment, I would try to launch the application in a more friendly environment.
I have a Snow Leopard Server partition running under Parallels on the same mac. :D
That environment just happened to already have Java SE 6 installed.
I moved my Oxygen application and related xml files to the Snow Leopard partition, ran some tests and everything looks good.
This should work for my purposes.
In the midst of trying to make something work, I sometimes tend to overlook simpler ways of solving the problem.