I am making small side project which MUST bundle JDK an integral part of the program (program which is compiling and running another programs written in “main” program). With this comes the question - can I bundle Oracle or any other JDK with application?
Second question - bundled JDK should be feature-complete, but as small as possible, possibly <40 mb. Is this possible to achieve?