Re: trouble running fopub in Ubuntu 18.04
Posted by
mojavelinux on
Oct 10, 2018; 12:27am
URL: https://discuss.asciidoctor.org/trouble-running-fopub-in-Ubuntu-18-04-tp6476p6507.html
I really have no idea if fopub will work on OpenJDK 10. I would recommend using sdkman (
https://sdkman.io/) to install OpenJDK 8 and use that instead as it's known to work.
Cheers,
-Dan
On Tue, Sep 18, 2018 at 3:03 PM Tom Swan [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Upgraded Ubuntu recently and now fopub now exits with a rather strange exception. Do I need to reinstall Java? Following is in the cloned gitbub folder. Thanks.
$ fopub sample.xml
Initializing application...
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '10.0.2'.
$ javac -version
javac 10.0.2
$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.1)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.1, mixed mode)
--