mirror of
https://git.sanhost.net/sanasol/hytale-f2p.git
synced 2026-02-26 23:01:47 -03:00
When extracting the bundled JRE, flattenJREDir renames files from the nested jdk subdirectory up one level. On Windows this fails with EPERM when antivirus or file indexing holds handles open, leaving the JRE nested and unfindable — causing "Server failed to boot". - Fall back to copy+delete when rename gets EPERM/EACCES/EBUSY - getBundledJavaPath checks nested JRE subdirs as last resort