Osiris-Team / AutoPlug-Client

Server manager with automatic plugin- mod- server- java- self- updater, scheduled restarts, automatic backups, shared folders, and many more handy features to automate/boost your server maintenance.
https://autoplug.one/
MIT License
56 stars 23 forks source link

Autoplug search correct directory for Java bin on MacOS #228

Closed aellul27 closed 8 months ago

aellul27 commented 8 months ago

Expected Autoplug automatically detects the operating system and looks for the extracted Java executable in the correct directory on MacOS. The correct location should be /Contents/Home/bin. This is due to the way MacOS packages are set up.

Actual Autoplug looks in the incorrect location, and claims that the downloaded Java executable is missing/can not be found. Instead of looking in the correct location when on macOS, it instead looks for /bin.

Steps

  1. Download Autoplug on MacOS
  2. Follow Autoplug install procedure
  3. Eventually, after downloading Java, Autoplug refuses to start the server due to a missing executable.
aellul27 commented 8 months ago

Console log: console-mirror.log

aellul27 commented 8 months ago

macOS Java structure vs expected structure MacOS Java Structure Autoplug Expectation