Starting remote sessions

## Starting remote sessions |
previous | up | next

| To start your application or application server in such a way that you can connect to it with a remote session from JProfiler's GUI front end, the following steps are required: Windows 98/NT/2000/XP Adjust your startup command Add the following command line parameters to your startup command: `-Xrunjprofiler` `-Xbootclasspath/a:{JProfiler install directory}/bin/agent.jar` other JVM-specific options found in the remote session invocation table Adjust PATH Add `{JProfiler install directory}\bin\windows` to the `PATH` environment variable. Linux and Solaris Adjust your startup command Add the following command line parameters to your startup command: `-Xrunjprofiler` `-Xbootclasspath/a:{JProfiler install directory}\bin\agent.jar` other JVM-specific options found in the remote session invocation table Adjust LD_LIBRARY_PATH Add `{JProfiler install directory}/bin/{linux-x86 | solaris-sparc}` to the `LD_LIBRARY_PATH` environment variable. Mac OS Adjust your startup command Add the following command line parameters to your startup command: `-Xrunjprofiler` `-Xbootclasspath/a:{JProfiler install directory}\bin\agent.jar` other JVM-specific options found in the remote session invocation table Adjust DYLD_LIBRARY_PATH Add `{JProfiler install directory}/bin/macos` to the `DYLD_LIBRARY_PATH` environment variable. The remote session invocation table shows the complete command for all supported JVMs.