Cannot build JMC
marcus.hirt at datadoghq.com
Mon Jun 3 12:11:11 UTC 2019
The JavaFX bits are used by optional plug-ins, and they should be
downloaded from maven central when required. It should be possible to
build JMC without having JavaFX linked into the JDK. I actually
thought this was already the case. I will open an Issue.
On Mon, Jun 3, 2019 at 11:43 AM Mario Torre <neugens at redhat.com> wrote:
> What system are you on?
> On RHEL 8 (and 7) for example there's no bundled JFX, while there is
> on Fedora. So if you are using a system where no JFX is present (any
> build of OpenJDK and any Oracle JDK since 11) then you either need to
> install it or patch the JFX bits out.
> I think the JFX bits should be optional on JMC but we're not there yet.
> On Mon, Jun 3, 2019 at 11:34 AM Simone Bordet <simone.bordet at gmail.com> wrote:
> > Hi,
> > JMC 7.0.0-ga.
> > I'm following what's in the README and the build fails for me at the
> > "mvn package" command from the JMC root directory:
> > [ERROR] Failed to execute goal
> > org.eclipse.tycho:tycho-compiler-plugin:1.4.0:compile
> > (default-compile) on project org.openjdk.jmc.javafx.osgi: Compilation
> > failure: Compilation failure:
> > [ERROR] /home/simon/opensource/openjdk/jmc7/application/org.openjdk.jmc.javafx.osgi/src/main/java/org/openjdk/jmc/javafx/osgi/FXToolkit.java:
> > [ERROR] import javafx.application.Platform;
> > [ERROR] ^^^^^^
> > There are other 20 errors similar to this one.
> > Ideas?
> > Thanks!
> > --
> > Simone Bordet
> > ---
> > Finally, no matter how good the architecture and design are,
> > to deliver bug-free software with optimal performance and reliability,
> > the implementation technique must be flawless. Victoria Livschitz
> Mario Torre
> Associate Manager, Software Engineering
> Red Hat GmbH <https://www.redhat.com>
> 9704 A60C B4BE A8B8 0F30 9205 5D7E 4952 3F65 7898
More information about the jmc-dev