Launcher
Launcher copied to clipboard
Use Minecraft's Java directory rather than user's
It would be nice to allow the ability use or even bundle a Java version that Minecraft gives out or if I install one and want to bundle it myself
If you wish to bundle oracle java you need to follow https://www.java.com/en/download/faq/distribution.xml
This could have easily been found just by using google/duckduckgo with "bundle java licence"
Given that modded Minecraft only reliably works under 8 it would be good to try looking for other installations rather than blindly using the default; though end-users can manually configure the java path in the launcher settings.
You can also already deliver your own java binaries, thats what we do just put them into the modpack and change the default java path (in code) to the new delivered binaries