Difference between revisions of "Reference:Command Line Arguments"

From GeoGebra Manual
Jump to: navigation, search
(typo: windows -> Windows)
Line 5: Line 5:
 
When using *.jar files directly (to ensure enough memory is allocated: don't double-click)
 
When using *.jar files directly (to ensure enough memory is allocated: don't double-click)
  
<code>java '''-Xmx512m''' -jar geogebra.jar java [OPTION] [FILE]</code>
+
<code>java '''-Xmx1024m''' -jar geogebra.jar java [OPTION] [FILE]</code>
  
 
Usage on Windows (if installed via off-line installer)
 
Usage on Windows (if installed via off-line installer)

Revision as of 19:27, 3 November 2012

In order to start GeoGebra from the command line you have to either install GeoGebra using the offline installers or make sure you have all the *.jar files in one directory. You can download them here: http://www.geogebra.org/webstart/unpacked/

Usage

When using *.jar files directly (to ensure enough memory is allocated: don't double-click)

java -Xmx1024m -jar geogebra.jar java [OPTION] [FILE]

Usage on Windows (if installed via off-line installer)

C:/Program Files/Geogebra/geogebra.exe [OPTION] [FILE]

Usage on Linux (if installed via deb or rpm packages)

geogebra [OPTION] [FILE]

Starts GeoGebra with the specified OPTIONs and opens the given FILE.

Options

--help print help message
--v print version information, e.g. GeoGebra 4.0.0.0 20 August 2011 Java 1.6.0_26
--language=ISO_CODE set language using locale code, e.g. en, de_AT
--antiAliasing=BOOLEAN turn antialiasing on (true) or off (false)
--showAlgebraWindow=BOOLEAN show/hide Algebra View
--showSpreadsheet=BOOLEAN show/hide Spreadsheet View
--showCAS=BOOLEAN show/hide CAS View
--showAlgebraInput=BOOLEAN show/hide algebra Input Bar
--showAxes=BOOLEAN show/hide coordinate axes
--enableUndo=BOOLEAN enable/disable Undo
--showGrid=BOOLEAN show/hide coordinate grid
--showSplash=BOOLEAN show splash screen on startup
--settingsFile=BOOLEAN load/save settings from/in a local file
--resetSettings resets settings to defaults
--versionCheckAllow allow version check (on/off or true/false for single launch). Note: if this option is not used, then it will check for new version, unless system preferences are set to disable it. This preference has to be created on "geogebra" key, with name "version_check_allow" (e.g. HKEY_LOCAL_MACHINE/Software/JavaSoft/Prefs/geogebra/version_check_allow in Windows registry), and value "false" if, on the computer, no check for new version is allowed.

Please note that this list may be incomplete since the "developers only" options are not intended for all users. To obtain the full list, please simply enter the --help option on command line.

fr:Référence:Ligne_Commande es:Referencia:Argumentos_de_Línea_de_Comandos it:Riferimenti:Argomenti della riga di comando

© 2024 International GeoGebra Institute