In the System Properties dialog box, on the Advanced tab, click Environment Variables.
In the Environment Variables dialog box, under System variables, click New.
In the New System Variable dialog box:
In the Variable name: field, enter JAVA_HOME.
In the Variable value: field, enter the location where Java is located (for example, C:\Program Files\Java\jre7).
Click OK to exit out of the open dialog boxes.
For Linux, add the JAVA_HOME Environment variable to the dbsetup.sh (in the Database folder of the physical media or download) file before running it. For example: export JAVA_HOME=/usr/java/jre1.7.0_15/
From the Web_Services\Integration API folder of the physical media or download location, run one of the following:
If you are installing on a Microsoft Windows system, navigate to the win\Disk1\install directory and double-click on the setup.exe file.
If you are installing on a non-Microsoft Windows system:
Type this command: cd<OperatingSystem>\Disk1\install
Depending on your operating system, replace <Operating System> in the command above with solaris_64, linux, linux64, hpux_IA64, hp_64, or aix_64-5L.
Type these commands:
chmod 755 runInstaller
chmod 755 unzip
./runInstaller
Click Next.
On the Welcome screen, click Next.
On the Select the Installation Type screen, specify the installation mode.
Local Mode Packages Only - Choose this option to use the P6 Integration API in local mode, without Java RMI. This option installs database configuration tools and javadoc.
Client Side Packages Only- Choose this option to install client side libraries and documentation. If you are using the remote API, you will need this option.
Notes:
The maximum number of clients that can access a remote server at one time is approximately 50. This number might be less, depending on multiple factors (e.g., system hardware, network configuration, etc.)
When using the P6 Integration API in Remote Mode and the client and server are in different time zones, the time of date fields in the client will be based on the local time, not the server time, by default. If you want the times to match, you can first set the time zone in your client code to be the same as the server time zone for each thread that calls P6 Integration API code.
In the Specify Home Details screen:
In the Name field, enter a name for the P6 Integration API.
In the Path field, specify the installation location for the P6 Integration API files .
Click Next.
In the Available Product Components screen, select the components to install and click Next.
In the JDK Home Directory screen, type or browse to the location where JDK is installed.
In the Summary screen, click Install.
Notes:
If you installed the local mode package, the Configuration Assistants screen appears after the installation finishes. Do not close this screen. After a short time, the Database Configuration dialog box opens.
If you installed the client side package, your installation is complete. You can exit the wizard now and skip the remaining steps in this section.
In the Database Configuration dialog box:
Note: You can later change the database type through the P6 Integration API Database Configuration Setup wizard.
Choose the database type: Oracle or Microsoft SQL Server.
Click Next.
Specify the database connection parameters.
Click Next.
Note: The P6 Integration API requires pubuser access (in the User Name field) to the database. The database name, host address, and host port are specific to your Oracle or Microsoft SQL Server installation. Database Host Port displays the default port for the database type you selected. You can edit this port.
If the installer detects an existing configurationscreen, choose the appropriate action.
Notes:
If your site includes P6, you can share a new P6 Integration API configuration with P6. However, P6 cannot share an existing configuration with P6 Integration API because it will not support the new P6 Integration API configuration settings.
If a configuration does not exist, the The installer has detected an existing. . . screen does not appear and the installation process automatically creates a default configuration named Primavera Configuration. You can edit the settings for this configuration through the P6 Administrator application.
After installation, you can use the Database Configuration Setup wizard to choose or create a different configuration.
See the P6 EPPMPost Installation Administrator's Guide for more information about configurations.
When the message displays to confirm the database configuration has completed successfully:
Click OK.
Click Exit to close the Setup wizard.
You will now have the following shortcuts added to the P6 Integration API entry in your Start menu: