Giter Site home page Giter Site logo

How to install it? about briss-2.0 HOT 14 CLOSED

mbaeuerle avatar mbaeuerle commented on July 3, 2024
How to install it?

from briss-2.0.

Comments (14)

sypianski avatar sypianski commented on July 3, 2024 2

Oh wow, the new release worked out of the box. Thank you!

from briss-2.0.

wilkohardenberg avatar wilkohardenberg commented on July 3, 2024

I have the same problem: when I follow the instructions I only get error messages for lack of dependencies.

from briss-2.0.

sypianski avatar sypianski commented on July 3, 2024

from briss-2.0.

wilkohardenberg avatar wilkohardenberg commented on July 3, 2024

Have you tried downloading one of the releases (https://github.com/mbaeuerle/Briss-2.0/releases), instead of going from source (as described in the installation instructions)?

from briss-2.0.

sypianski avatar sypianski commented on July 3, 2024

I downloaded Briss-2.0.zip. I tried clicking on different files after unpacking, but it looks like it's not doing anything.

As for the installation instructions, they say only the following:

Currently Briss 2.0 is in alpha therefore some features are still missing (for example the page skip list). If you want to give it a try you can download the pre release from https://github.com/mbaeuerle/Briss-2.0/releases. There is a version of Briss for Java 8 and one version for any newer version of Java.

As a result I still don't know where to start.

from briss-2.0.

wilkohardenberg avatar wilkohardenberg commented on July 3, 2024

as far as I can tell, you need to run the Briss-2.0 file in the bin subfolder in Terminal:

sh Briss-2.0

This starts the interface. I cannot testify whether it actually works, as my file seems to be too big and produces thus another error message. Let me know if it works for you with other files.

from briss-2.0.

cleydyr avatar cleydyr commented on July 3, 2024

Hey, @sypianski . What is your operating system and Java version?

from briss-2.0.

sypianski avatar sypianski commented on July 3, 2024

@cleydyr: macOS Ventura 13.3.1 and Java bulid 1.8.0_371-b11

@wilkohardenberg:

LinkageError occurred while loading main class at.laborg.briss.Briss
java.lang.UnsupportedClassVersionError: at/laborg/briss/Briss has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0

from briss-2.0.

cleydyr avatar cleydyr commented on July 3, 2024

Hey, @sypianski. Are you using the Java 8 release available on the releases page?

from briss-2.0.

sypianski avatar sypianski commented on July 3, 2024

@cleydyr: Yes, I am.

from briss-2.0.

cleydyr avatar cleydyr commented on July 3, 2024

Here's what I did on a clean MacOS Ventura 13.3.1 (22E261) running on a Parallels Desktop virtual machine.

Installed Java 8 for Mac OS x64 from the official site:

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

Downloaded the Java 8 version from the releases page and extracted its contents.

Run ./bin/Briss-2.0 from the Briss-2.0 folder:

WARNING: GL pipe is running in software mode (Renderer ID=0x1020400)
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.

The program opens with no errors.

On the other hand, if I deliberately use the non-java-8 release, I get this:

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: at/laborg/briss/Briss has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

from briss-2.0.

cleydyr avatar cleydyr commented on July 3, 2024

@sypianski . According to this post, it looks like you're trying to run the non-java-8 release with a Java 16 runtime. I'd double-check if you're using Java 8 as the runtime when running the Briss-2.0 script from the command line, as shown in the README file.

from briss-2.0.

mbaeuerle avatar mbaeuerle commented on July 3, 2024

@sypianski please check out a new version here which simplifies things in regards to Java versions. Hopefully there you are able to either run the script or jar either via shell or double click.

from briss-2.0.

mbaeuerle avatar mbaeuerle commented on July 3, 2024

Closing this for now. If there are still issues let us know!

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.