Areca is a desktop application developed with Java technology. Java requires specific information to know how to execute a program. Launchers simplify the process of starting Areca for the user.
Areca can run in graphical mode or text mode.
Areca 7.5 binaries may not work with current versions of the JRE
(or JDK
).
New binaries (areca.exe
and areca_cl.exe
) can be generated from
areca-backup-native repo.
It might be a better option to use scripts instead of binaries. For example, they are inspectable and customizable.
areca.bat
(GUI)areca_cl.bat
(TUI)areca_check_version.bat
(check for new versions)areca_run.bat
(startup logic)debug_
allow you to debug Areca.areca.sh
(GUI)areca_cl.sh
(TUI)areca_check_version.sh
(check for new versions)areca_run.sh
(startup logic)debug_
allow you to debug Areca.Either the JRE
(Java Runtime Environment) or the JDK
(Java Development Kit) is required.
See Java providers.
You must call either javaw
(GUI) or java
(GUI or TUI) and provide the following details:
-Xmx1024m
).-Xms64m
).-cp "<CLASSPATH>"
), which includes paths to:
areca.jar
and the platform-specific SWT
),fwk.properties
-Duser.dir="<ARECA_DIRECTORY>"
)-Djava.library.path="<LIBRARY_PATH>"
)-Djava.system.class.loader=com.application.areca.impl.tools.ArecaClassLoader <FIRST_COMMAND_LINE_ARGUMENT>
Command-line arguments, if any
There is additional logic primarily aimed at configuring this data,
such as locating a JRE
or JDK
.
java
-Xmx1024m
-Xms64m
-cp "<CLASSPATH>"
-Duser.dir="<ARECA_DIRECTORY>"
-Djava.library.path="<LIBRARY_PATH>"
-Djava.system.class.loader=com.application.areca.impl.tools.ArecaClassLoader <INITIAL_JAVA_CLASS_ARGUMENT>
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
to allow to attach an IDE’s debugger to an already running instance of Areca you need to add this
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=<DEBUG_ADDRESS>:<DEBUG_PORT>
to the former code snippet so it would look like this
java
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=<DEBUG_ADDRESS>:<DEBUG_PORT>
-Xmx1024m
-Xms64m
-cp "<CLASSPATH>"
-Duser.dir="<ARECA_DIRECTORY>"
-Djava.library.path="<LIBRARY_PATH>"
-Djava.system.class.loader=com.application.areca.impl.tools.ArecaClassLoader <INITIAL_JAVA_CLASS_ARGUMENT>
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
"<OPTIONAL_COMMAND_LINE_ARGUMENT>"
Note: Type the snippets on a single line,
or add ^
(for Windows) or \
(for Linux) to the end of each line except the last
to split the command into multiple lines.
Keep the same changes and fixes in the following pair of files:
areca_run.*
and debug_areca_run.*
areca.*
and debug_areca.*
areca_cl.*
and debug_areca_cl.*
debug_
scripts only include additional logic for debugging.While the areca_run.*
scripts contain this logic,
the areca.*
and areca_cl.*
scripts
pass any command-line arguments to areca_run.*
and specify the Java class to initialize Areca.
The binary launchers (.exe
) do not include areca_run.exe
,
as both areca.exe
and areca_cl.exe
already contain all the aforementioned logic,
and can also display an icon to represent them.
Scripts (bat
and sh
) do not display icons; to show an icon,
create a shortcut to them and associate an icon with it.
JRE
or JDK
)SWT
platform-specific widgets for the Graphical User Interface