Sun Studio 12 Update 1: Performance Analyzer

-j | --jdkhome jvm-path

Specify the path to the JVM software for running the Analyzer. When the -j option is not specified, the default path is taken first by examining environment variables for a path to the JVM, in the order JDK_HOME and then JAVA_PATH. If neither environment variable is set, the JVM found on your PATH is used. Use the -j option to override all the default paths.