The starting script files are available for every mode of BaseX and can be started on every operating system.<br />
Note: Probably you have to modify the pathes in the script.
==BaseX Server==
The BaseX Server an be started with the following scripts:
REM Run BaseX
java -cp "%BXPATH%" %VM% org.basex.BaseXServer XXX %*
@endlocal
# Run BaseX
java -cp "$BXPATH" $VM org.basex.BaseXServer XXX "$@"
</pre>
==BaseX GUI==
The BaseX GUI an be started with the following scripts:
===Windows===
<pre class="brush:bash">
@setlocal
@echo off
REM Path to this script
set PWD=%~dp0
REM Paths to distributed files or source directories
set BXPATH=basex.jar
REM Options for virtual machine
set VM=-Xmx1g
REM Run BaseX
java -cp "%BXPATH%" %VM% org.basex.BaseXGUI %*
@endlocal
</pre>
===Others===
==BaseX Standalone==
The BaseX Standalone an be started with the following scripts:
===Windows===
<pre class="brush:bash">
@setlocal
@echo off
REM Path to this script
set PWD=%~dp0
REM Paths to distributed files or source directories
set BXPATH=basex.jar
REM Options for virtual machine
set VM=-Xmx1g
REM Run BaseX
java -cp "%BXPATH%" %VM% org.basex.BaseX %*
@endlocal
</pre>
===Others===