Print at Dec 18, 2025, 3:50:59 AM

Posted by adizanni at Feb 18, 2024, 12:12:53 PM
Re: SweetHome3DJS - Porting plugin - ARM architecture support
Always related to this project. I think that I got from other posts that the JSP code is only compatible with JAVA 1.8. When I tried JAVA 21 I found only one problem:

Unable to make field protected static final java.lang.String javax.swing.undo.AbstractUndoableEdit.UndoName accessible: module java.desktop does not "opens javax.swing.undo" to unnamed module @1cc19e8a


in the WriteHomeEdits.jsp file. Even following all stackoverflow suggestions to change some JVM parameters and allow reflect action, it does not work.

I have a problem with the fact to stay in 1.8: I'm packaging a container with tomcat and jdk, the only based image still supporting 1.8 is quite outdated and brings a lot of vulnerabilities.

Is there any workaround to make your code compatible with recent versions of Java ? (or maybe it is already but I'm doing the things wrong). I

Thanks in advance for your support.

Andrea