Before You Begin
See the following for information about obtaining the code and setting up your environment.
You might want to go through the introductory tutorial in Introduction to Java Profiling first to become familiar with Performance Analyzer.
Copy the contents of the jsynprog directory to your own private working area with the following command:
% cp -r SolarisStudioSampleApplications/PerformanceAnalyzer/jsynprog mydirectory
where mydirectory is the working directory you are using.
Change to that working directory copy.
% cd mydirectory/jsynprog
Build the target executable.
% make clobber (needed only if you ran make in the directory before, but safe in any case) % make
After you run make the directory contains the target application to be used in the tutorial, a Java class file named jsynprog.class and a shared object named libcloop.so which contains C++ code that will be dynamically loaded and invoked from the Java program.