Difference between revisions of "Reference:Command Line Arguments"

From GeoGebra Manual
Jump to: navigation, search
m
(Update for 4.4)
Line 5: Line 5:
  
 
<code>java '''-Xms32m -Xmx1024m''' -jar geogebra.jar java [OPTIONS] [FILES]</code>
 
<code>java '''-Xms32m -Xmx1024m''' -jar geogebra.jar java [OPTIONS] [FILES]</code>
 +
 +
You may want to add extra .jar files for connecting to GeoGebra and using the CAS by entering
 +
 +
<code>java -cp geogebra.jar;javagiac.jar -Xbootclasspath/a:jre\lib\jfxrt.jar geogebra.GeoGebra</code>
 +
 +
Please use the correct Java path separator, javagiac jarname and proper jfxrt.jar path here: they may be different on various operating systems and architectures.
  
 
Usage on Windows (if installed via off-line installer)
 
Usage on Windows (if installed via off-line installer)
Line 17: Line 23:
  
 
==Options==
 
==Options==
 +
 +
Please note that there may be other options available which are not listed here. For a full list use the <code>--help</code> option.
  
 
{|  
 
{|  
Line 29: Line 37:
 
| set language using [[w:List_of_ISO_639-1_codes|locale code]], e.g. en, de_AT
 
| set language using [[w:List_of_ISO_639-1_codes|locale code]], e.g. en, de_AT
 
|-
 
|-
|<code>--antiAliasing=[true|false]</code>
+
|<code>--showAlgebraInput=[true|false]</code>
|turn antialiasing on (true) or off (false)
+
|show/hide algebra [[Input Bar]]
 +
|-
 +
|<code>--showAlgebraInputTop=[true|false]</code>
 +
|Show algebra input field at top/bottom
 
|-
 
|-
 
|<code>--showAlgebraWindow=[true|false]</code>
 
|<code>--showAlgebraWindow=[true|false]</code>
Line 41: Line 52:
 
|show/hide [[CAS View]]
 
|show/hide [[CAS View]]
 
|-
 
|-
|<code>--showAlgebraInput=[true|false]</code>
+
|<code>--showSplash=[true|false]</code>
|show/hide algebra [[Input Bar]]
+
|show splash screen on startup
 +
|-
 +
|<code>--enableUndo=[true|false]</code>
 +
|enable/disable Undo
 +
|-
 +
|<code>--fontSize=[number]</code>
 +
|set default font size
 
|-
 
|-
 
|<code>--showAxes=[true|false]</code>
 
|<code>--showAxes=[true|false]</code>
 
|show/hide coordinate axes
 
|show/hide coordinate axes
|-
 
|<code>--enableUndo=[true|false]</code>
 
|enable/disable Undo
 
 
|-
 
|-
 
|<code>--showGrid=[true|false]</code>
 
|<code>--showGrid=[true|false]</code>
 
|show/hide coordinate grid
 
|show/hide coordinate grid
 
|-
 
|-
|<code>--showSplash=[true|false]</code>
+
|<code>--settingsFile=FILENAME</code>
|show splash screen on startup
 
|-
 
|<code>--settingsfile=FILENAME</code>
 
 
|load/save settings from/in a local file (used by the portable version)
 
|load/save settings from/in a local file (used by the portable version)
 
|-
 
|-
 
|<code>--resetSettings</code>
 
|<code>--resetSettings</code>
 
|resets settings to defaults
 
|resets settings to defaults
 +
|-
 +
|<code>--antiAliasing=[true|false]</code>
 +
|turn antialiasing on (true) or off (false)
 
|-
 
|-
 
|<code>--export=<File></code>
 
|<code>--export=<File></code>

Revision as of 23:23, 2 January 2014

In order to start GeoGebra from the command line you have to first install GeoGebra using the offline installers

Usage

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

java -Xms32m -Xmx1024m -jar geogebra.jar java [OPTIONS] [FILES]

You may want to add extra .jar files for connecting to GeoGebra and using the CAS by entering

java -cp geogebra.jar;javagiac.jar -Xbootclasspath/a:jre\lib\jfxrt.jar geogebra.GeoGebra

Please use the correct Java path separator, javagiac jarname and proper jfxrt.jar path here: they may be different on various operating systems and architectures.

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

C:/Program Files/Geogebra/geogebra.exe [OPTIONS] [FILES]

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

geogebra [OPTIONS] [FILES]

Starts GeoGebra with the specified OPTIONS and opens the given FILES.

Options

Please note that there may be other options available which are not listed here. For a full list use the --help option.

--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
--showAlgebraInput=[true|false] show/hide algebra Input Bar
--showAlgebraInputTop=[true|false] Show algebra input field at top/bottom
--showAlgebraWindow=[true|false] show/hide Algebra View
--showSpreadsheet=[true|false] show/hide Spreadsheet View
--showCAS=[true|false] show/hide CAS View
--showSplash=[true|false] show splash screen on startup
--enableUndo=[true|false] enable/disable Undo
--fontSize=[number] set default font size
--showAxes=[true|false] show/hide coordinate axes
--showGrid=[true|false] show/hide coordinate grid
--settingsFile=FILENAME load/save settings from/in a local file (used by the portable version)
--resetSettings resets settings to defaults
--antiAliasing=[true|false] turn antialiasing on (true) or off (false)
--export=<File> Exports the Graphics View to SVG/PNG/PDF/EMF/EPS as determined by the extension
You must specify the resolution with --dpi
--dpi=<Integer> dots per inch, eg 300 (only used in conjunction with --export)
--laf=<system|crossplatform> Change the "Look and Feel" of the GUI
--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 ; edit the file /Library/Preferences/com.apple.java.util.prefs.plist in mac osx and add string key "version_check_allow" in Root > / > geogebra/), and value "false" if, on the computer, no check for new version is allowed.

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