Created On:  2009-11-17

Problem:

Although DevPartner for Java did support integration with previous versions with JBuilder, there is no integration with JBulder with DevPartner for Java versions.

 

Resolution:

Manually integrate with JBuilder 2008 using procedures below.
Manual integration with JBuilder 2008
If  the Java IDE Add-in Manager cannot be used to integrate DevPartner Java Edition,   you may be able to invoke DevPartner Java Edition from within JBuilder 2008 by adding the -Xrun or -agentlib argument to the JVM Arguments section in JBuilder 2008.
Application
1. Select Run from the Menu and Open Run Dialog… from the drop down memu.
2. In the Create, manage and run configurations dialog box, create a new launch configuration.
3. In the right tabbed pane, select Arguments
4. Do one of the following:

If you are using JVMPI (JDK 5.0 or below), add the -Xrun argument to the VM Arguments field, as described in Using -Xrun to Invoke the Profiler in the online help. A sample string is listed below:
-XrundpjCore:NM_ANALYSIS_TYPE=performance:NM_CONFIG_NAME=test

If you are using JVMTI (JDK 6.0 or above), add the -agentlib argument to the VM Arguments field, as described in Using -agentlib to Invoke the Profiler In the online help. A sample string is listed below:
-agentlib:dpjJvmtiCore=NM_ANALYSIS_TYPE=performance,NM_CONFIG_NAME=test
Server
1. You will need to modify the server configuration profile used when launching the Application server or create a configuration profile especially designed for this purpose.
2. Select Run from the Menu and Open Run Dialog… from the drop down memu.
3. Select the target server configuration created for this application. For the example below the Tomcat 6.0 Server configuration under the Apache Tomcat menu was selected.
4. In the right tabbed pane, select Arguments.
5. In the dialog box do one of the following:

If you are using JVMPI (JDK 5.0 or below), add the -Xrun argument to the VM parameters text box, as described in Using -Xrun to Invoke the Profiler in the online help.  A sample string is listed below.
-XrundpjCore:NM_ANALYSIS_TYPE=performance:NM_CONFIG_NAME=test
Note: This is one string without a newline character inserted. This string  must be inserted before any other arguments in this box.

If you are using JVMTI (JDK 6.0 or above), add the -agentlib argument to the VM parameters, as described in Using -agentlib to Invoke the Profiler in the online help. A sample string is listed below.
-agentlib:dpjJvmtiCore=NM_ANALYSIS_TYPE=performance,NM_CONFIG_NAME=test
Note: This is one string without a newline character inserted. Also note the comma delimiter prior to NM_CONFIG_NAME.This string must be inserted before any other arguments in this box.