Agreed. Use macports openjdk ports, as then you make no assumptions on what the 
user may or may not have instead.

To do this, just use the java PortGroup, as it is designed to check what is 
installed, and if it makes the requirements will use it, otherwise will install 
the require openjdk port.

Chris

> On 20 Nov 2019, at 11:38 pm, Ruben Di Battista <[email protected]> 
> wrote:
> 
> 
> I’ll probably go depending on openjdk… 
> 
>           _   
> -.     .´  |∞∞∞∞
>   ',  ;    |∞∞∞∞∞∞
>     ˜˜     |∞∞∞∞∞∞∞∞∞ RdB
>     ,.,    |∞∞∞∞∞∞
>   .'   '.  |∞∞∞∞
> -'       `’
> 
> https://rdb.is
> 
>> On 21 November 2019 at 00:16:52, Randolph M. Fritz ([email protected]) 
>> wrote:
>> 
>> I took a shot at this, and what I found is that the current version of 
>> epubcheck is not supported by the JRE available from Apple.
>> 
>> There are several different ways I can make this work:
>> I can require the Oracle JRE, located (when installed) at /Library/Internet 
>> Plug-Ins/JavaAppletPlugin.plugin
>> I can require one or another of the openjdk ports available in MacPorts.
>> … something else?
>> What do the experts here suggest?
>> --
>> Randolph M. Fritz || [email protected]

Reply via email to