Installing GeoGebra on Raspberry Pi

Michael Borcherds shared this question 6 years ago
Answered

There's currently no JVM supplied with the default debian image, so the first step is to install this. Open "Start" -> Accessories -> LXTerminal and type:

    sudo apt-get install openjdk-6-jre


Then type this to run GeoGebra 3


    javaws http://www.geogebra.org/web...


It's a bit slow at the moment, there are some speedups in the pipieline.


More information here:

http://openjdk.java.net/ins...

http://labb.zafena.se/?p=514

Comments (5)

photo
1

Success - I have installed Geogebra on my RPi and even checked it's working OK. It's a bit slow, though!!!

But Linux is all new to me - can I get a shortcut on the GUI? At present, I have to run it from the LX terminal. Thanks, Murkle, for the instructions - they worked a treat.

K.

photo
1

Hi,


Raspberry now provides faster version of Java. You may install it and make it your default JVM via:


    sudo apt-get update && sudo apt-get install oracle-java7-jdk && sudo update-java-alternatives -s jdk-7-oracle-armhf


Cheers,

Zbynek

photo
1

Thanks for posting these tips.


I've just been playing with my new toy.


    sudo apt-get update && sudo apt-get install oracle-java7-jdk && sudo update-java-alternatives -s jdk-7-oracle-armhf


The above didn't work, and resulted in the error

    sudo: update-java-alternatives: command not found


The command

    sudo apt-get install openjdk-6-jre

appeared to exit cleanly, but

    javaws http://www.geogebra.org/web...

gave the error

    usr/bin/javaws: line 93: /usr/lib/jvm/java-7-openjdk-armhf/jre/bin/java: No such file or directory

which appears to relate to the failed install of java 7.


So, I'm a bit stuck. Any suggestions?

photo
1

Hi,


what does

    ls /usr/lib/jvm/

yield?

photo
1

Ok, thanks,


I've managed to sort out this problem by uninstalling these packages, and trying again.

I've also installed the java runtime environment not just the JDK. So GeoGebra is now running on my new pi. Very happy!


    suto apt-get automremove

    sudo apt-get remove oracle-java7-jdk

    sudo apt-get -f install


    sudo apt-get install oracle-java7-jdk

    sudo update-java-alternatives -s jdk-7-oracle-armhf

    sudo apt-get install openjdk-7-jre


    javaws http://www.geogebra.org/web...


Sorry, this probably wasn't a GGB issue, rather it was a java issue on my machine....


Chris

© 2018 International GeoGebra Institute