Advanced help
back to index
Command line tool
If you don't want to start the GUI, you can also use JLearnIt as a command line tool.
For the command line options execute java -jar JLearnIt.jar -cmd
Hidden options
You can set hidden options for JLearnIt.
To do it, edit the JLearnIt.ini file located in your JLearnIt directory.
- HTTPRoot is the root directory where the application will try to find
the internet files. You can modify it to your intranet server or a local directory.
This directory should contain the .txt files and a files.properties like
https://www.jlearnit.com/data/files.properties.
- SoundRoot is the root directory where the the software will try to find a sound for a word.
The URL is then <SoundRoot><name_of_the_section_in_english>/<word>.au .
The sound is prononced when you click twice on the popup button of the mouse.
No sound exists on the JLearnIt web site, so if you want to use it you need to generate your own sound files.
- NoDoubleBuffer=yes|no, default is no. If set on the application won't use a double buffer to
render the application (and thus use less memory).
- TableBackground=image|color|<empty>
If you set 'image' the table is displayed with a background image,
if you set 'color' the table displays one line every two lines with a different color.
- TreeBackground=image|<empty>
If you set 'image' the tree is displayed with a background image.
- SplitLocation=x : Set the divider location to x pixels for the tree (-1: default).
- WindowLocation=x_y : Set the application at the position x and y.
- WindowSize=x_y : Set the application size to x width and y height.
- AlwaysOnTop=yes : Set the application always on top.
- HTTPStartingFile=location : The location (based on the applet URL directory) of the file to load.
Passing arguments
You can specify the parameters when starting the application.
For example
javaw -jar JLearnIt.jar -WindowLocation=50_20 -WindowSize=400_250 -SplitLocation=0 -TreeBackground= -AlwaysOnTop -ShowColumns=0_1 -StartingFile=local://vocabulary.txt
will display the application in a small corner and always on top, handy when you want to have the application easily accessible.
Passing arguments for the applet
To pass the arguments in the Applet, use:<param name="param name" value="param value">
in the <applet> element.
Unix users
If you want to install JLearnIt on Linux for example, you can install in a
main directory. JLearnIt tries to load first a ${HOME}/.JLearnIt.ini file
for the settings, then it looks for JLearnIt.ini in the directory where JLearnIt
is installed, then it uses the default jlearnit.ini included in the JLearnIt.jar file.