Go to main content
Oracle® Developer Studio 12.6: Performance Analyzer Tutorials

Exit Print View

Updated: June 2017
 
 

Setting Up the jlowfruit Sample Code

Before You Begin:

  1. Copy the contents of the jlowfruit directory to your own private working area with the following command:

    % cp -r OracleDeveloperStudio12.6-Samples/PerformanceAnalyzer/jlowfruit directory

    where mydirectory is the working directory you are using.

  2. Change to that working directory copy.

    % cd directory/jlowfruit
  3. Build the target executable.

    % make clobber
    
    % make

    Note -  The clobber subcommand is only needed if you ran make in the directory before, but safe to use in any case.

    After you run make the directory contains the target application to be used in the tutorial, a Java class file named jlowfruit.class.


Tip  -  If you are having trouble compiling the sample, check your version of javac using the following command:
% javac -version
If the output does not report at least javac 1.7, then you need to update your PATH to a JDK of 7 or higher.

The next section shows how to use Performance Analyzer to collect data from the jlowfruit program and create an experiment.