OpenJFX Build [Was Re: Anybody looking for a quick patch to contribute?]
Mario Torre
neugens at redhat.com
Tue Mar 12 13:17:55 PDT 2013
Il giorno mar, 12/03/2013 alle 20.25 +0100, Mario Torre ha scritto:
> Il giorno mar, 12/03/2013 alle 09.54 -0700, Richard Bair ha scritto:
>
> > Did you by chance watch the video I hosted here?
> > https://wiki-beta.openjdk.java.net/display/OpenJFX/Building+OpenJFX
> > On minute 7 I download these in the video (it is too long and boring
> > so I doubt you've seen it :-). I will do a new one when the gradle
> > stuff is ready to go that is hopefully a 30 second video!). I'll also
> > update the wiki with a link to the web page.
>
> Yeah, no, I didn't... but it's not boring at all :)
>
> > www.antlr3.org/download
>
> Great, thanks!
>
> Indeed, the build went a bit further. This is a problem though because
> we need to take care of the version of antlr that is installed on the
> system...
>
> Is there a plan to eventually integration this code into the OpenJDK 8
> tree (like nashorn, for instance)?
>
> Anyway, back on the build, with OpenJDK 8 or Oracle JDK 8 EA and ant
> 1.8.4 it fails with this weird message:
>
> master/rt/build.xml:87: The following error occurred while executing
> this line:
> master/rt/decora-runtime/build-common.xml:109: The following error
> occurred while executing this line:
> master/rt/decora-runtime/build-common.xml:24: Class not found: javac1.8
>
> It seems that ant 1.9 is now required to compile OpenJFX, at least on
> Linux.
>
> > I'm guessing you are on Linux? I have worked out windows & mac, about
> > to start on the linux build. I'm guessing it dies on building native
> > code?
>
> It seems that it fails with the :graphics:effects-jsl:compileBlend task.
>
> I just gave it another try and here is the error message:
>
> http://www.fpaste.org/9EEH/
>
> But maybe I'm just doing something here, I'm not much of a gradle expert
> yet.
>
> One final question, what other code is still needed to be open sourced?
> I guess we're mostly done, right?
I answer myself :)
Definitely not much left to open, but the code is still not enough to
run the OpenJFX HelloWorld without the closed jars in the classpath [1]
I guess I need to wait a bit more to try this out again...
But this brings another question (sorry for spamming today!) I remember
you had some plans regarding the font subsystem. What happened to that?
I didn't see much discussion going on anymore this but I guess this is
actually a very good place where we can help out with some non trivial
code contribution.
Cheers,
Mario
[1]
Exception in thread "main" java.lang.RuntimeException: Application
launch error
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:157)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoClassDefFoundError:
com/sun/javafx/tk/desktop/DesktopToolkit
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:195)
at
com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:166)
at
com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:616)
at com.sun.javafx.application.LauncherImpl.access
$000(LauncherImpl.java:56)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:150)
... 1 more
Caused by: java.lang.ClassNotFoundException:
com.sun.javafx.tk.desktop.DesktopToolkit
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 20 more
More information about the openjfx-dev
mailing list