Mac Monterey and Oxygen Version 12

Having trouble installing Oxygen? Got a bug to report? Post it all here.
richardeberhardt
Posts: 2
Joined: Tue Apr 05, 2022 7:34 pm

Mac Monterey and Oxygen Version 12

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Mac Monterey and Oxygen Version 12

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Mac Monterey and Oxygen Version 12

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
richardeberhardt
Posts: 2
Joined: Tue Apr 05, 2022 7:34 pm

Re: Mac Monterey and Oxygen Version 12

Post 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.
Post Reply