Cannot build JMC
Mario Torre
neugens at redhat.com
Mon Jun 3 13:21:15 UTC 2019
To be fair, I also thought this was the case already, I remember Jie
proposing a patch, but I may confuse with what we have in our
downstream RPM (or maybe we just pushed the patch to 7.x and not to
the 7.0 branch).
Can you please assign this bug to Jie I think he may be able to
backport the RPM patch into upstream.
Cheers,
Mario
On Mon, Jun 3, 2019 at 2:11 PM Marcus Hirt <marcus.hirt at datadoghq.com> wrote:
>
> 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.
>
> Kind regards,
> Marcus
>
> 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.
> >
> > Cheers,
> > Mario
> >
> > 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:[42]
> > > [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
--
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
mailing list