Blocking Issue with JDK Java 8 (build 1.8.0_20-ea-b05) #82
|
Again? hmm, the regex must be bad then... that looks like a beta, not a release and as such its probably not triggering java8 behavior |
|
Hello, Yes you are right (it's an EAR) and ... not (official Java8 have problems with jRubyFX). Yes the "8u20 Build b05" is an "JDK 8 Early Access Releases" which can be found there: It's where I had habit to have a look of the progression of Java 8. But for some days now, the Java 8 is officially released: http://www.oracle.com/technetwork/java/javase/overview/index.html I dowload it, and redo the installation of jRubyFX from the beginning. java -version The build 132 was the previous early release! jruby -v I have error at the first Demo: jruby samples/fxml/Demo.rb And when I launched the samples, of course, I have an error at the first one (it the same as before). But the next ones are working until the following where the process holds with no messages: I have to do a ctrl+C to quit. As the java8 is officialy released, I think that jRubyFX (or the samples) are not working properly together! |
|
I have the same problem too. |
|
I am running into the same problem as ad-github with Oracle Java 8u5 on Ubuntu 14.04 with an app that uses jrubyfx. This is the error: NameError: cannot initialize Java class javafx.scene.control.Pagination |
|
@enebo I know you fixed this for java 8 previously, did java 8 change or did it not actually fix it? |
|
This also requires some changes to FXMLLoader as some of the com.sun classes changed:
|
|
Should be fixed with latest commits in fxmlloader (c09b9f01cbfee0ea2f6c56fa58b8ed2d6f5016fb) and jrubyfx (85406e7) |
|
Finally, this is fixed! Thanks! |
|
Sorry, I still get the
Error, I've installed jrubyfx, and jrubyfx-fxmlloader from the github source I use |
|
@tlarevo make sure you update fxmlloader to byteit101/JRubyFX-FXMLLoader@c09b9f0 |
Hello,
With the official Java 8 release, I try today to setup jRubyFX, and to run the samples.
#1) My configuration:
a) OS: CentOS 6.5 64 bit (2.6.32-431.5.1.el6.x86_64)
b) last java8 available (64 bit):
c) jruby (last available):
#2) installation:
==> sounds good for the moment...
I dowload the zip (jrubyfx-master.zip), and try to to run the samples:
==> So I launch the following command:
==> The message is clear, I have Java8, so I don't have to setup the JFX_DIR
#3) Additional steps:
Forcing the JFX_DIR ('jfxrt.jar' is prsent)
==> re-launch the "rake reflect", and new messages.
#4) Another try: With Java 7u40
When I change the JDK to java7, I have to perform a "rake reflect" to regenerate some files, but I can launch the samples.
(
jruby -I lib samples/test_all_the_samples.rb)After that, when I tried to launch again the samples with a java8, some demos work, but not all...
Hope this help!
Regards,
AD