trouble running fopub in Ubuntu 18.04

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

trouble running fopub in Ubuntu 18.04

Tom Swan
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)
www.tomswan.com
Reply | Threaded
Open this post in threaded view
|

Re: trouble running fopub in Ubuntu 18.04

mojavelinux
Administrator
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)



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/trouble-running-fopub-in-Ubuntu-18-04-tp6476.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux