Package Details: geogebra-5 5.2.832.0-1

Git Clone URL: https://aur.archlinux.org/geogebra-5.git (read-only, click to copy)
Package Base: geogebra-5
Description: Dynamic mathematics software with interactive graphics, algebra and spreadsheet
Upstream URL: https://www.geogebra.org/
Licenses: GPL3, CCPL:by-sa, CCPL:by-nc
Conflicts: geogebra
Provides: geogebra
Submitter: z3ntu
Maintainer: xiretza
Last Packager: xiretza
Votes: 22
Popularity: 0.92
First Submitted: 2018-02-12 13:00 (UTC)
Last Updated: 2024-03-18 18:30 (UTC)

Dependencies (3)

Required by (0)

Sources (5)

Latest Comments

1 2 3 4 5 Next › Last »

xiretza commented on 2024-03-18 18:29 (UTC)

The real problem was that newer JREs no longer ship symlinks in /usr/lib/jvm/*/jre/bin/, which is what the launcher script prepends to $PATH. I've fixed the script, should be fine now.

medmedin commented on 2024-03-18 11:23 (UTC) (edited on 2024-03-18 11:38 (UTC) by medmedin)

@xiretza The real problem is that you download Geogebra installer which includes also its own embedded JRE, but you extract only Geogebra files and forgot the embedded JRE which is the correct one to use with Geogebra.

In the launcher geogebra-portable file, it looks for it first:


JAVACMD="$GG_PATH/zulu11.62.17-ca-jre11.0.18-linux_x64/bin/java"

projetmbc commented on 2024-03-18 11:18 (UTC)

The AUR file indicates GG_JAVA_VERSION="11" so this is not a specific Manjaro problem...

Thank you so much for your friendliness.

xiretza commented on 2024-03-18 07:00 (UTC)

This is the Arch User Repository, stop trying to waste maintainers' time with your Manjaro problems.

projetmbc commented on 2024-03-17 20:42 (UTC)

Thanks for the advice but the problem is that on Manjaro, the aur file indicates a dependance to java-runtime=11 which breaks the installation.

Juliaan commented on 2024-03-14 14:21 (UTC)

You may need to change your java version to start geogebra:

sudo archlinux-java set java-17-openjdk

projetmbc commented on 2024-03-07 10:17 (UTC)

I have tried to install the last 2024-03-03 version but this breaks GeoGebra.

$ geogebra
Run with exported java-11-openjdk
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/geogebra/desktop/GeoGebra3D has been compiled by a more recent version of the Java Runtime (class file version 55.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:756)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
    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:418)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:621)

Juliaan commented on 2024-02-21 10:48 (UTC)

unfortunately https://static.geogebra.org/images/geogebra-logo.svg is a dead link

xiretza commented on 2022-04-15 16:20 (UTC)

Thanks!

ccorn commented on 2022-04-13 21:56 (UTC) (edited on 2022-04-13 21:56 (UTC) by ccorn)

Now that JRE 18 is out, properly greping for 8 needs the -w option:

--- a/geogebra
+++ b/geogebra
@@ -25,14 +25,14 @@ if test ! -z "${JAVA_HOME}"; then
 fi

 # check current environment
-if archlinux-java status | grep "default" | grep -q "${GG_JAVA_VERSION}"; then
+if archlinux-java status | grep "default" | grep -qw "${GG_JAVA_VERSION}"; then
     # required java version is set to default, do nothing
     echo "Using system enabled java environment" >&2
     run_gg "$@"
 fi

 # find valid environment
-GG_JAVA_ENV="$(archlinux-java status | grep "${GG_JAVA_VERSION}" | awk '{ print $1 }')"
+GG_JAVA_ENV="$(archlinux-java status | grep -w "${GG_JAVA_VERSION}" | awk '{ print $1 }')"
 # for some env it returns like java-8-openjdk/jre
 GG_JAVA_ENV="${GG_JAVA_ENV%/*}"
 export PATH="/usr/lib/jvm/${GG_JAVA_ENV}/jre/bin/:${PATH}"

Besides, in my checkout of the PKGBUILD, I version the depends on java-runtime=8 because running with anything else works superficially but with flaws that grow worse over time. Today I ran it with the JRE 18 because of the unrefined grep, and I got subtle redraw errors.