Page 1 of 1

Fixing Startup Error when Running Geogebra on Debian Stretch

Posted: Fri Aug 25, 2017 7:03 am
by obrienwj
Installed the new Raspbian OS (Debian Stretch) on my Pi2 and PI3 today using the normal repositories by:
sudo apt-get install geogebra

When I went to run it, the program did not appear to start. Ran it from the terminal (cli) and geogebra returned with its first error looking something like the following:

error java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)

I fixed this by editing the file /etc/java-8-openjdk/accessibility.properties (use your favorite editor, Raspbian comes with leafpad too. I used nano as my text editor. Switch nano with leafpad to get a full graphical text editor in the below line if you prefer to use leafpad. It is a little easier to use.)

sudo nano /etc/java-8-openjdk/accessibility.properties

Comment out the following line as shown below (you are adding # as the first character of the line to do this):

#assistive_technologies=org.GNOME.Accessibility.AtkWrapper

Actually this was the only uncommented line in the file.

Geogebra started up fine after that. This has apparently caused similar problems with other programs since I found this fix on the Internet when I searched for java.awt.Toolkit.loadAssistiveTechnologies. If someone else experiences this problem I hope my note helps them.

Re: Fixing Startup Error when Running Geogebra on Debian Stretch

Posted: Mon Oct 07, 2019 7:22 am
by geev03
In the latest Raspbian Buster, on a Pi4-4 ,GeoGebra starts up without any errors ...

Code: Select all

pi@raspberrypi:~ $ sudo -i
root@raspberrypi:~# apt install geogebra
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  junit junit4 libcommons-math-java libfreehep-export-java
  libfreehep-graphics2d-java libfreehep-graphicsio-emf-java
  libfreehep-graphicsio-java libfreehep-graphicsio-pdf-java
  libfreehep-graphicsio-svg-java libfreehep-graphicsio-tests-java
  libfreehep-io-java libfreehep-swing-java libfreehep-util-java
  libfreehep-xml-java libhamcrest-java libjas-java libjas-plotter-java
  libjfreechart-java libjfugue-java libjlatexmath-java
  libnb-org-openide-util-java libnb-org-openide-util-lookup-java librhino-java
  libtablelayout-java mathpiper
Suggested packages:
  cups junit-doc libjfreechart-java-doc rhino
The following NEW packages will be installed:
  geogebra junit junit4 libcommons-math-java libfreehep-export-java
  libfreehep-graphics2d-java libfreehep-graphicsio-emf-java
  libfreehep-graphicsio-java libfreehep-graphicsio-pdf-java
  libfreehep-graphicsio-svg-java libfreehep-graphicsio-tests-java
  libfreehep-io-java libfreehep-swing-java libfreehep-util-java
  libfreehep-xml-java libhamcrest-java libjas-java libjas-plotter-java
  libjfreechart-java libjfugue-java libjlatexmath-java
  libnb-org-openide-util-java libnb-org-openide-util-lookup-java librhino-java
  libtablelayout-java mathpiper
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.8 MB of archives.
After this operation, 23.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]