Giter Site home page Giter Site logo

Running on MacOS about briss-2.0 HOT 15 CLOSED

mbaeuerle avatar mbaeuerle commented on July 23, 2024
Running on MacOS

from briss-2.0.

Comments (15)

mbaeuerle avatar mbaeuerle commented on July 23, 2024 1

Hey @odysseus90210
the official build will not work with Java 8 as things changed with the dependencies and even some of the code.
I have added a Java 8 build on the release page now, check that out and let us know if that works for you:

@cleydyr building for Java 8 is not very straight forward.

  1. Java 8 comes with JavaFX included therefore all JavaFX dependencies need to be removed from build.gradle before the build
  2. Some code doesn't compile with Java 8 any longer Toolkit.getDefaultToolkit().getMenuShortcutKeyMaskEx() therefore needs to be changed to Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()

from briss-2.0.

cleydyr avatar cleydyr commented on July 23, 2024

Hey, @odysseus90210 . No bothering at all. :)

In which version of Briss exactly were you able to double click a file named "Briss-2.0"?

That file you mention is a shell script. However, it has no extension. I think MacOS won't execute shell scripts without extension, because that's the case in my MacOS as well. I tested with both versions alpha-4 and alpha-3.

That being said, can you try adding the .sh extension to your Briss-2.0 file and trying to execute it by double-clicking again?

from briss-2.0.

odysseus90210 avatar odysseus90210 commented on July 23, 2024

Hi,

The error message that appears in Terminal is:

Error: Could not find or load main class at.laborg.briss.Briss
Caused by: java.lang.ClassNotFoundException: at.laborg.briss.Briss

So where does the shell script have to be in the Briss-2.0-master folder?

from briss-2.0.

cleydyr avatar cleydyr commented on July 23, 2024

Hey, @odysseus90210 . If you have a Briss-2.0-master folder, then you're not using one of the releases and instead building from source. Is this the case? If so, can you try using one of the releases instead?

from briss-2.0.

odysseus90210 avatar odysseus90210 commented on July 23, 2024

You're not going to believe this, but I can't figure out how to download one from that page!

from briss-2.0.

odysseus90210 avatar odysseus90210 commented on July 23, 2024

Figured it out -- had to press on the "Assets" triangle

from briss-2.0.

odysseus90210 avatar odysseus90210 commented on July 23, 2024

Why doesn't alpha 4 work with Version 8 Update 361?

from briss-2.0.

cleydyr avatar cleydyr commented on July 23, 2024

Hey, @odysseus90210 . That alpha release was not compiled using a JDK 8 backwards compatibility. We've been discussing before if we wanted to support building with JDK 8 given the technical limitations that it implies. Not sure if we'll support running on Java 8 though.

Does the Java 8 compatible alpha-3 release work though?

@mbaeuerle do you have any inputs on support running Briss on Java 8?

from briss-2.0.

odysseus90210 avatar odysseus90210 commented on July 23, 2024

Thanks. I managed to download Java 19 or something like that -- it has to be the developer version because the Java runtime for the general public still appears to be version 8?!

from briss-2.0.

mbaeuerle avatar mbaeuerle commented on July 23, 2024

You're right, it got very confusing with the runtime for Java. Oracle doesn't provide the dedicated java runtime environment any longer it now always contains a development kit. Though it's not needed for running Briss it's also not a big deal. The currently latest Java version also for the general public is actually version 19.
If you only want to install a JRE you can use alternatives based on the OpenJDK like the one from Eclipse: https://adoptium.net/temurin/releases/?version=19

Regarding the initial request of double clicking to open Briss, is that still relevant? We might try to create an app bundle for Mac which then can be started like any regular Mac app. Though for that we need to investigate a bit more.

from briss-2.0.

odysseus90210 avatar odysseus90210 commented on July 23, 2024

Thanks so much for this. The double-clicking works now, but I'd love an app bundle for Mac. This would allow the user to drag and drop pdfs directly on Briss, wouldn't it? That would be ideal!

from briss-2.0.

DesBw avatar DesBw commented on July 23, 2024

I installed JDK 19 on the Mac Monterey. But, I getting "Java Application launch failed".

from briss-2.0.

cleydyr avatar cleydyr commented on July 23, 2024

I installed JDK 19 on the Mac Monterey. But, I getting "Java Application launch failed".

@Dellu, JDK 19 is not supported yet. #61 has been opened to address this.

from briss-2.0.

tophee avatar tophee commented on July 23, 2024

Thank you for updating briss! I have been using v0.9 for years and was happy to discover briss 2.0. An app bundle for MacOS (read: one for ARM and one for X64) would be great. I am a power user but this whole java thing is always giving me headaches... I understand, though, that figuring out how to build an app bundle that includes a JRE may not be a priority for you.

from briss-2.0.

mbaeuerle avatar mbaeuerle commented on July 23, 2024

A new version of Briss now also supports Java 19 (and all versions in between). Currently bundlling a JRE is not on the roadmap. But hopefully this new version makes things easy enough that this is not needed any longer.
Find the new version here: (https://github.com/mbaeuerle/Briss-2.0/releases/tag/v2.0-alpha-5

from briss-2.0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.