Bytecoder icon indicating copy to clipboard operation
Bytecoder copied to clipboard

Error running bytecoder: Error linking class javax.swing.JFrame: Not supported Java module for class javax.swing.JFrame

Open priand opened this issue 3 years ago • 2 comments

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?

priand avatar May 30 '22 15:05 priand

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

mirkosertic avatar Jun 03 '22 07:06 mirkosertic

ok thank you!

priandsf avatar Jun 03 '22 11:06 priandsf

Closed due to no further feedback.

mirkosertic avatar Mar 29 '23 16:03 mirkosertic