JavaTrace has been developed and tested on JDK 1.5.0 . JDK 1.5.0 is required to use JavaTrace.
The installation of JavaTrace involves the following two facets:
- The javatrace.jar file
- The javatrace.properties file
In order to compile code that uses JavaTrace API calls, the javatrace.jar file has to be in the CLASSPATH.
Installing JavaTrace in a standalone Java application
To install JavaTrace in a standalone Java application:
- Download javatrace-bin-v1.1_b1.zip file from here
- Unzip javatrace-bin-v1.1_b1.zip into a directory (This directory will have the javatrace.jar file)
- Modify the CLASSPATH environment variable of your application to include javatrace.jar
- Modify the CLASSPATH environment variable of your application to include the javatrace.properties
- Make changes to the javatrace.properties file as required by your application.
Installing JavaTrace in a Java web application
To install JavaTrace in a Java web application:
- Download javatrace-bin-v1.1_b1.zip file from here
- Unzip javatrace-bin-v1.1_b1.zip into a directory (This directory will have the javatrace.jar file)
- Copy the javatrace.jar file to the WEB-INF/lib directory of the web application
- Copy the javatrace.properties file to the WEB-INF/classes directory of the web application
- Make changes to the javatrace.properties file as required by your application
Installing JavaTrace in a Java enterprise application
To install JavaTrace in a Java enterprise application:
- Download javatrace-bin-v1.1_b1.zip file from here
- Unzip javatrace-bin-v1.1_b1.zip into a directory (This directory will have the javatrace.jar file)
- Copy the javatrace.jar file to the APP-INF/lib directory of the web application
- Copy the javatrace.properties file to the APP-INF/classes directory of the web application
- Make changes to the javatrace.properties file as required by your application
|