Viivi Boot File Contents < System Files < Viivi's Cell < Entrance
Here the contents of
viivi
and
viivi.bat
,
the boot files for Viivi,
are explained.
In the both files,
the most important part for booting Viivi is the line
beginning with
java
:
In the file viivi
:
java -Xss512m -Xms1024m -Xmx2048m -jar ${VIIVI_HOME}Viivi.jar ${*}
In the file viivi.bat
: java -Xss512m -Xms1024m -Xmx2048m -jar %VIIVI_HOME%Viivi.jar %1 %2 ... %8 %9
java
is a command to boot-up the JVM.
-Xss512m
specifies the stack size of the JVM.
-Xms1024m
specifies the initial heap size of the JVM.
-Xmx2048m
specifies the maximum heap size of the JVM. -jar ${VIIVI_HOME}Viivi.jar
-jar %VIIVI_HOME%Viivi.jar
in both files, respectively,
indicate the JVM to run the program file
Viivi.jar
in the Viivi system directory
VIIVI_HOME
.
${*}
%1 %2 ... %8 %9
will be replaced with the real arguments provided by the user,
and then supplied to the program
Viivi.jar
.
-d32
and
-d64
for java
command.
For Unix-like platforms,
the first line of the boot script file
viivi
describes the path to the shell command which runs the boot script file.
Considering
bash
is widely used for the recent platforms,
it includes
#!/bin/bash
by default./bin/bash
with the correct path to your shell, like
#!/bin/sh
or #!/usr/local/bin/tcsh
Viivi Boot File Contents < System Files < Viivi's Cell < Entrance
Exhibited on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.