huxi / lilith

Lilith is a Logging- and AccessEvent viewer for Logback, log4j, log4j2 and java.util.logging
http://lilith.huxhorn.de
GNU Lesser General Public License v3.0
137 stars 18 forks source link

Mac version doesn't launch is default java is 9 #31

Closed jkolobok closed 6 years ago

jkolobok commented 7 years ago
MBP:Java jkolobok$ open -a Lilith.app
LSOpenURLsWithRole() failed for the application /Applications/Lilith.app with error -10810.
huxi commented 7 years ago

Version 8.1.1 (the latest release version) works for me and uses Java 9 as expected. Which version of Lilith did you try?

I also just updated the macOS documentation. I didn't realize that macOS Sierra yet again changed the way unsigned applications need to be manually accepted.

Chances are that you still need to jump through those hoops and that this is part of your problem.

jkolobok commented 7 years ago

8.1.1 I even redownloaded it and tried enabling/disabling signature verification - the problem is the same. I'm using High Sierra, not Sierra.

jkolobok commented 7 years ago

Is there a way to change java version it will be using? Or can you create a build that would bundle java with it?

huxi commented 7 years ago

I can't check on High Sierra for now.

Can you try the documentation and see if that helps? Alternatively, you could try building from source and see if that works for you.

Follow the instructions in README.md. This should produce lilith/build/distributions/de.huxhorn.lilith-8.2.0-SNAPSHOT-app.tgz containing Lilith.app. You could also use one of the other Lilith versions, i.e. the ones that aren't wrapped in a .app.

I'll see what I can do regarding bundled Java version. Apple is making it increasingly hard writing software for macOS without paying them $99/year.

huxi commented 7 years ago

A coworker just checked Lilith 8.1.1 with Java 9-GA+181 on High Sierra and it works.

jkolobok commented 6 years ago

I don't know what was it, but it works now