Comments (15)
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.
- Java 8 comes with JavaFX included therefore all JavaFX dependencies need to be removed from
build.gradle
before the build - Some code doesn't compile with Java 8 any longer
Toolkit.getDefaultToolkit().getMenuShortcutKeyMaskEx()
therefore needs to be changed toToolkit.getDefaultToolkit().getMenuShortcutKeyMask()
from briss-2.0.
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.
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.
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.
You're not going to believe this, but I can't figure out how to download one from that page!
from briss-2.0.
Figured it out -- had to press on the "Assets" triangle
from briss-2.0.
Why doesn't alpha 4 work with Version 8 Update 361?
from briss-2.0.
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.
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.
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.
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.
I installed JDK 19 on the Mac Monterey. But, I getting "Java Application launch failed".
from briss-2.0.
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.
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.
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)
- New crop rectangles are created behind older ones HOT 3
- V2-alpha 3 exceptions in Command prompt HOT 6
- Image to big HOT 3
- Problems Launching on Briss 2.0 HOT 12
- Add Java 19 support HOT 3
- Can I pass the --splitcol argument without executing it?
- Can't get Briss 2.0 to run without freezing HOT 1
- [feature request] page overlap mark HOT 1
- [feature request] add ability to lock aspect ratio HOT 1
- How to install it? HOT 14
- Can't execute Briss 2.0 on Windows 11 HOT 8
- Store application state as user configuration
- Application window may appear outside of the visible screen on scaled up screens
- Different cropped page widths from identically sized crop boxes HOT 5
- Save some cropping settings to use in command line HOT 3
- Destructive crop for conversion to epub HOT 1
- Missing shortcuts HOT 2
- Classpath location incorrect after build HOT 2
- Crash on launch - macOS HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from briss-2.0.