Bytecoder
Bytecoder copied to clipboard
Error running bytecoder: Error linking class javax.swing.JFrame: Not supported Java module for class javax.swing.JFrame
I created this simple project to showcase the issue, just run mvn install
https://github.com/priand/bytecoder-swing
It appears that ClassLibProvider doesn't see java.desktop. Did I miss a configuration in the pom.xml to reference that module?
Hi!
thank you for using Bytecoder!
java.desktop support is currently very limited, and cross compiling a Swing application is not supported by recent Bytecoder. I've added the java.desktop package for future use, but the Compiler and Runtime Emulation Layer currently does not support the required native methods.
Sorry, thats the way it is. There is no quick fix available, and a lot of work to do.
Mirko
ok thank you!
Closed due to no further feedback.