Feature Request: Look for Java in PATH

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

Feature Request: Look for Java in PATH

#1 Post by miff_remind » Sun Feb 11, 2018 6:29 pm

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

#2 Post by xr200 » Mon Feb 12, 2018 2:33 am

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

#3 Post by miff_remind » Tue Feb 13, 2018 3:41 am

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

#4 Post by wberrier » Sat Nov 10, 2018 11:39 pm

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