I’m currently using Processing 4.0.1 (Apple silicon version).
It always shows “This application requires a Java Runtime Environment 17” when I try to open the exported application on Windows. Even after I download from https://adoptium.net as suggested in the export option menu, it still doesn’t work.
That could be the reason. I had to export an application for Mac OS once (I use windows) so I sent it to a friend with a Mac to export it for me and send the data back.
Do you also have an IDE for base Java? If so you could compile it yourself. (I’ll look up how to do that)
Create a project in the IDE of your choice and put core.jar on your class-path which you should be able to find in your processing program folder \core\library. You should now do so with all your other libraries jar files. (these can usually be found under sketchbook/libraries/libraryName/library/libraryName.jar
2.You can look at the application.windows64 generated by export there in application.windows64/source you can find a java file with the same name as your sketch.
3.Create a new class with the same name as your sketch and copy the contents of the .java file you found in step 2.