Page 1 of 1

Feature Request: Look for Java in PATH

Posted: Sun Feb 11, 2018 6:29 pm
by miff_remind
Currently MakeMKV appears to look for a java binary at the following locations:

/usr/bin/java
/bin/java

But it doesn't look in the PATH for the java binary. Would it be possible to look in the directories listed in the PATH env var instead of these hard-coded locations? This would make it possible to use MakeMKV without custom configurations on Linux distros that don't install Java to those locations.

Re: Feature Request: Look for Java in PATH

Posted: Mon Feb 12, 2018 2:33 am
by xr200
Under Preferences (the wrench icon) -> Protection, you can provide
the location of java.

Re: Feature Request: Look for Java in PATH

Posted: Tue Feb 13, 2018 3:41 am
by miff_remind
Yes, I'm aware of the configuration option, but it's not ideal to require custom configuration on every system when there is a standard way of discovering the location of the binary.

Re: Feature Request: Look for Java in PATH

Posted: Sat Nov 10, 2018 11:39 pm
by wberrier
Looking in the PATH would also fix automatically discovering when run in a flatpak sandbox (where it's located at /app/jre/bin/java).