Page 1 of 1

kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Tue Oct 03, 2017 4:45 pm
by KlickKlack
Hello,

when I updated my Mac to macOS 10.13 High Sierra I simultanious updated Java to version 9. Unfortunately the KryoFlux GUI via kryoflux-ui.jar does not work any more. Starting it will immediately result in close again without any error message. Using command line version seems to work like a charm. Can anybody help me using GUI version again without downgrading Java < 9?

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Tue Oct 03, 2017 6:03 pm
by karadoc
Hi. Thanks for the note.

Yes, we've noticed the are some changes required here around the modularity changes in Java 9. We'll get back to you when we know more about what we'll need to change as we'd ideally be compatible with both Java 8 and 9 without having to provide different binaries.

[updated below]

It appears that installing a new JRE on a Mac does delete the old one. Oracle was sued a while ago for leaving old versions on machines, which is why this might be the case. It appears you also can't install a Java 8 JRE if you have 9 installed either.

However, as a short term fix, you can install the Java 8 JDK (from http://www.oracle.com/technetwork/java/ ... index.html), which won't conflict with your Java 9 install. If you are happy to do this for now, you should be able to get the GUI running on Java 8 again by doing the following.

Assuming you have installed the latest Java 8 JDK (144), open Terminal and go to the directory with the KryoFlux GUI. Then run this command:

/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java -jar kryoflux-ui.jar

Hope that helps while we work on updating to Java 9.

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Tue Oct 03, 2017 7:22 pm
by mr.vince
To my understanding it should be possible to have a parallel installation of Java, so installing Java 8 should work atm.

We haven't upgraded here yet; Apple tends to break thinks with every update. My video workstation also can't be upgraded as we'd lose several thousands of Euros in software which wouldn't work.

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Sun Oct 08, 2017 3:01 pm
by karadoc
A quick update. One of the main problems we had was with a 3rd party library that didn't work on Java 9, so we had to migrate away from it. That's now done though, along with a few other changes. Please try the version below and let me know how it goes.

http://www.kryoflux.com/kryoflux-ui.jar

This version will only work on Java 8+.

Thanks

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Tue Oct 24, 2017 9:04 am
by KlickKlack
karadoc wrote:
Sun Oct 08, 2017 3:01 pm
A quick update. One of the main problems we had was with a 3rd party library that didn't work on Java 9, so we had to migrate away from it. That's now done though, along with a few other changes. Please try the version below and let me know how it goes.

http://www.kryoflux.com/kryoflux-ui.jar

This version will only work on Java 8+.

Thanks
Sorry for answering first now… :|
Your patched version of kryoflux-ui.jar seems to work.
Bildschirmfoto 2017-10-24 um 09.59.08.png

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Tue Oct 24, 2017 11:25 am
by karadoc
Good news, thanks.

Let us know if you have any problems. It should be fine, but a few things now work fundermentally differently given our own implementation of a previous 3rd party library, so please consider this a beta release for now.

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Tue Aug 28, 2018 7:53 am
by KlickKlack
In the meantime I upgraded to java version "10.0.2" 2018-07-17 (build 10.0.2+13). Your fixed gui application linked above-mentioned doesn't work any more.

Error see screenshot attached.

Edit: Downloaded your patched gui application again. This time starting it again works like a charm.

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Tue Aug 28, 2018 8:49 am
by karadoc
Okay, good to know it all works, thanks.

I'll have to try on Java 11 which is released next month :)

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Thu Aug 30, 2018 10:34 am
by sky76
Just one question: I need to upgrade my MacBook Pro to Sierra or High Sierra, unfortunately. Might there be an 'official' Mac release of kryoflux that should (in most cases) work with Java 9+ and/or macOS?

Re: kryoflux-ui.jar with macOS 10.13 and JDK 9

Posted: Thu Aug 30, 2018 5:48 pm
by karadoc
The UI is developed on a Mac, and it works fine for me on High Sierra with Java 9, so I can't think of a reason it shouldn't...