Re: Compiling Java code for all target platforms at once

2022-08-27 Thread some-java-user-99206970363698485155
> It's not possible to cross compile all platforms from any single OS, so > you can't provide native toolchains for separate builds on the same host. > > Depending on how close to correct you need the java class files to be > produced, it could be possible to hack around in the build system to >

Compiling Java code for all target platforms at once

2022-08-25 Thread some-java-user-99206970363698485155
Hello, the JDK source code contains many Java classes which are specific to one platform / operating system, for example classes to interact with the file system or the AWT and Swing related classes are different for Windows and Linux. Is there a way to compile the Java source code for all