Salesforce

MagicJavaConfig Utility (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

MagicJavaConfig Utility

This utility update the existing JAVA_HOME path or sets a new JAVA_HOME path in various configuration files.

To use this utility, you need to enter the following command at command prompt and press Enter at the end:

MagicJavaConfig.exe -JavaHome=<folder_name> -xpaHome=<folder_name> -tomcatHome=<folder_name>

For example,

When you type MagicJavaConfig.exe at the command prompt it lists the Java SE folders currently installed on the machine.

When you type MagicJavaConfig.exe -JavaHome=folder -x64 -xpaHome=folder -tomcatHome=folder, it configures JAVA_HOME in Magic.ini, setenv.bat, and settings.xml configuration files.

Where

-JavaHome is Path to installed JAVA Folder

-xpaHome is Magic xpa installation path

-tomcatHome is path of tomcat installation

If -x64 is missing in the command then xpa assumes Java to be 32-bit.

Since version: 3.3d

Reference
Attachment 
Attachment