Font size:      

Installation

Run Java installer

Run Java installer either by double-clicking on it or typing:

        java -jar j4copy_v0.9-install.jar
      

Select language, installation directory and packages to install. The installation directory is named <J4COPY_HOME> in the following sections.

Test the GUI program

Simply launch the GUI by typing:

        Windows:
        --------
        <J4COPY_HOME>\bin\j4copy_gui.bat

        Unix:
        -----
        <J4COPY_HOME>/bin/j4copy_gui
	  

On Windows, it is possible to simply double-click on the file in Explorer.

j4copy main window should appear. You are now able to use the application (a sample configuration file is located in sample/ directory).

Test the CLI program

Use example provided (<J4COPY_HOME>/sample/sample.xml) to test CLI by typing:

        Windows:
        --------
        rem  Next line is for Western Europe locales (French, German, ...)
        rem  and needs to use 'Lucida Console' font in Windows console (cmd.exe)
        chcp 1252
        set J4COPY_HOME=<J4COPY_HOME>
        call %J4COPY_HOME%\bin\j4copy_cli.bat -l %J4COPY_HOME%\sample\sample.xml

        Unix:
        -----
        export J4COPY_HOME=<J4COPY_HOME>
        $J4COPY_HOME/bin/j4copy_cli -l $J4COPY_HOME/sample/sample.xml
      

This command should list the contents of sample configuration file.