Selemba1000 / JavaMediaTransportControls

JMTC is a lightweight Java Library that integrates with the operating systems Media Transport capabilities
MIT License
7 stars 1 forks source link

Java8 support #3

Open MopigamesYT opened 1 month ago

MopigamesYT commented 1 month ago

Is there a way I can use this with java8/an alternative to this software that works with Java8? I'm currently working on a minecraft client (java8 only) with a built-in music player.

Selemba1000 commented 1 month ago

I am really sorry but this will currently not work on Java 8. I am not currently aware of any alternatives to this project, since the interest of developing desktop applications on java seems to be low in general. Hence i created this project to support my own Media application.

dbus-java in the current Version requires Java 17. But that should be the only requirement for the newer version. So you would just have to replace that library with something compatible with Java 8. Alternatively you could remove all the linux code and the java dbus library. Then you should be able to switch to Java 8. That would mean only Windows would be supported, if that is acceptable. Maybe the old freedesktop java-dbus would also work, but none of this is tested or officially supported.

I'm currently on vacation and therefore can't really do much. But after the vaccation i might be able to help port to Java 8. Just hit me up if you are interested.

If you decide to make this project java 8 compatible, feel free to create a pr so we could make this available to all java 8 users.