| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Working without the web, running with jar files

Page history last edited by Russell Blyth 12 years, 9 months ago

Normally when we are using applets we assume that we have access to the internet.

However, there are times when we would like to work without internet access.  (You school may have bad or minimal internet access.  You may want to make an applet available on a machine for testing where you don't want students to have internet access.  You want to work on a plane or at a teacher's conference where the internet is not available.)

 

Step I -Gathering the jar files

 

The first step is to collect a set of jar files that give a full copy of GeoGebra.

With release 3.0 collect the files from:

http//www.geogebra.org/webstart/3.0/unpacked/

You should use option click to download the 3 files geogebra.jar, geogebra_export.jar, and geogerba_properties.jar.  Put the 3 files in the same folder.

 

 

With release 3.2 collect the files from:

http//www.geogebra.org/webstart/3.2/unpacked/

You should use option click to download the 6 files geogebra.jar, geogebra_cas.jar, geogebra_gui.jar, geogebra_export.jar, geogebra_main.jar, and geogerba_properties.jar.  Put the 6 files in the same folder.

 

With release 4.0 collect the files from:

http//www.geogebra.org/webstart/4.0/unpacked/

You should use option click to download the 12 files geogebra.jar, geogebra_algos.jar, geogebra_cas.jar, geogebra_gui.jar, geogebra_javascript.jar, geogebra_main.jar, geogerba_properties.jar, geogebra_usb.jar, jlatexmath.jar, jlm_cyrillica.jar, and jlm_greek.jar.  Put the 12 files in the same folder.

 

(If you are doing this with multiple versions of GeoGebra, the files for each version belong in separate folders.)

 

Step II Using the jar files to run GeoGebra

 

If you now double click on geogebra.jar in the folder you have set up, you can run the appropriate version of GeoGebra.  You can now open GeoGebra files (ggb files) with the file menu.  This method does not let you double click on the ggb files to open them.

 

To explain how to run html files from a set of jar files, we need to cover some technical details. 

When you create a dynamic web page with GeoGebra you create either one or two files.  We start with the assumption

that you are using the ggbBase64 tag, so there is only one file and it ends with the html extension.

Put that file in the same folder as the jar files (or put copies of the jar files in the same folder as the html file).  Use your favorite text editor to open the html file and find the line

codebase="http://www.geogebra.org/webstart/4.0/"

Change it to

codebase="./"

This change to the html file tells the browser to look in the same folder for the jar files.

 

If you are using an older version of GeoGebra and are also using ggb files, the ggb file should be in the same folder as the html file and the jar files.

 

Comments (0)

You don't have permission to comment on this page.