Viivi Boot File Contents < System Files < Viivi's Cell < Entrance


Viivi Boot File Contents

Here the contents of viivi and viivi.bat, the boot files for Viivi, are explained.

Java Command Line

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

Each element on the java command-line is explained:

Shell Script Header

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.
If the boot script file does not run properly, then rewrite the part /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


Contact

Exhibited on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.