Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pb with Java >9 on MAC OS #308

Closed
EmmanuelADAM opened this issue Jul 4, 2018 · 3 comments
Closed

Pb with Java >9 on MAC OS #308

EmmanuelADAM opened this issue Jul 4, 2018 · 3 comments
Labels

Comments

@EmmanuelADAM
Copy link

On MacOs, with Java > 9 (I have the issue with Java 10), launching Touist by double-clicking on the Jar File doesn't work.
From a terminal (java -jar touist.jar), I have this error
java.lang.NoClassDefFoundError: com/apple/eawt/OpenFilesHandler
This is due to the fact that some java classes specific to apple have been removed since java version >9.
To launch touist on Mac, I use :
/Library/Java/JavaVirtualMhines/jdk1.8.0_152.jdk/Contents/Home/bin/java -jar touist.jar
and it works !

@maelvls
Copy link
Member

maelvls commented Jul 4, 2018

Well received! I'll take a look

@maelvls
Copy link
Member

maelvls commented Jul 4, 2018

I reproduced the bug, you were right! The eawt classes were removed from Java 9. I think there it has been replaced by a more platform independent thing (I began writing a fix for this in PR #301, more specifically a147945).

So for now TouIST.jar isn't compatible with Java 9 (I'll write a notice on the README) but I'll try to finish the PR asap!

Update: I'm so sorry about the terrible experience with Java 9; maintaining the Java GUI is a pain and is getting harder and harder 😒 I want to drop it...

@stale
Copy link

stale bot commented Mar 31, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 31, 2019
@stale stale bot closed this as completed Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants