How to create multiple executable files

Under normal circumstances, Protector4J will create an executable file for each encryption task to run your application.

However, in some cases, an application may need to have multiple executable files, such as main program, update program or others.

If you open the output directory, you will see an executable file and a configuration file with the same name and extension ".json". If you need to create other executable files, simply copy and rename them, for example, app01.exe and app01.json. Open the app01.json file and modify "LibFolder" and "MainClass".

By default, the executable file will use all the jar files under vlxlib as the classpath. You can create different LibFolders for different executable files and copy the relevant jar files into the corresponding LibFolder. For example, create a folder named app01 and move all the jar files corresponding to app01 from vlxlib to that folder. Here is an example of the relevant configuration:

	"MainClass"      : "app01.MainClass",
	"LibFolder"      : "app01",
	"Verbose"        : false,
	"HideConsole"    : false,
	"IncludeJavaFX"  : true,
	"Splash"         : "",
	"SWTApplication" : false