kryoflux-ui.jar with macOS 10.13 and JDK 9

All questions about how to use KryoFlux go here.
Post Reply
KlickKlack
Posts: 3
Joined: Tue Oct 03, 2017 4:35 pm

kryoflux-ui.jar with macOS 10.13 and JDK 9

Post by KlickKlack » Tue Oct 03, 2017 4:45 pm

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?

User avatar
karadoc
Posts: 138
Joined: Sun Oct 31, 2010 9:12 pm

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

Post by karadoc » Tue Oct 03, 2017 6:03 pm

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.

User avatar
mr.vince
Posts: 2120
Joined: Tue Oct 05, 2010 5:48 pm

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

Post by mr.vince » Tue Oct 03, 2017 7:22 pm

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.

User avatar
karadoc
Posts: 138
Joined: Sun Oct 31, 2010 9:12 pm

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

Post by karadoc » 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

KlickKlack
Posts: 3
Joined: Tue Oct 03, 2017 4:35 pm

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

Post by KlickKlack » Tue Oct 24, 2017 9:04 am

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

User avatar
karadoc
Posts: 138
Joined: Sun Oct 31, 2010 9:12 pm

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

Post by karadoc » Tue Oct 24, 2017 11:25 am

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.

KlickKlack
Posts: 3
Joined: Tue Oct 03, 2017 4:35 pm

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

Post by KlickKlack » Tue Aug 28, 2018 7:53 am

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.
Attachments
Bildschirmfoto 2018-08-28 um 08.49.25.png

User avatar
karadoc
Posts: 138
Joined: Sun Oct 31, 2010 9:12 pm

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

Post by karadoc » Tue Aug 28, 2018 8:49 am

Okay, good to know it all works, thanks.

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

sky76
Posts: 35
Joined: Sat Jun 27, 2015 1:27 pm

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

Post by sky76 » Thu Aug 30, 2018 10:34 am

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?
A1200 + Indivision AGA + ACA1233 & Blizzard 1230IV+SCSI + easynet
A600 + Indivision ECS + ACA620 + A604n // CD32 + SX32 MK2 + Indivision AGA
A500 + ACA500 + 5 spare A500's (one with the C= key, Serial No 3358)

User avatar
karadoc
Posts: 138
Joined: Sun Oct 31, 2010 9:12 pm

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

Post by karadoc » Thu Aug 30, 2018 5:48 pm

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...

Post Reply