Feature Request: Look for Java in PATH

The place to discuss linux version of MakeMKV
Post Reply
miff_remind
Posts: 2
Joined: Sun Feb 11, 2018 6:24 pm

Feature Request: Look for Java in PATH

Post 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.
xr200
Posts: 56
Joined: Tue Nov 10, 2015 3:11 am

Re: Feature Request: Look for Java in PATH

Post by xr200 »

Under Preferences (the wrench icon) -> Protection, you can provide
the location of java.
miff_remind
Posts: 2
Joined: Sun Feb 11, 2018 6:24 pm

Re: Feature Request: Look for Java in PATH

Post 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.
wberrier
Posts: 5
Joined: Fri May 16, 2014 8:25 pm

Re: Feature Request: Look for Java in PATH

Post 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).
Post Reply