Bundling a JDK with the app is the officially sanctioned way to ship Java apps since Java 9, so for over a decade now.
Mind you, a default JRE redistribution makes your app at least 100+MB. Using jdeps to strip out unneeded things is a good idea if you want it to get down to 25 ish MBs.