osw ERROR. You do not have a legitimate version of java in your PATH

[oracle@sgpc146 oswbb]$ java -jar oswbba.jar -i  /s01/osw/oswbb/archive

Starting OSW Black Box Analyzer V5.0
OSWatcher Black Box Analyzer Written by Oracle Center of Expertise
Copyright (c)  2012 by Oracle Corporation

Parsing Data. Please Wait...


ERROR. You do not have a legitimate version of java in your PATH.
Linux users please download and install java from java.sun.com or 
see the OSWbba README for instructions on how to use the version of java
that comes shipped with the Oracle database.

[oracle@sgpc146 oswbb]$ 


 

[oracle@sgpc146 oswbb]$ export PATH=$ORACLE_HOME/jdk/jre/bin:$PATH
[oracle@sgpc146 oswbb]$ java -jar oswbba.jar -i /s01/osw/oswbb/archive

Starting OSW Black Box Analyzer V5.0
OSWatcher Black Box Analyzer Written by Oracle Center of Expertise
Copyright (c)  2012 by Oracle Corporation

Parsing Data. Please Wait...

Parsing file sgpc146_iostat_11.09.16.2100.dat ...

Parsing file sgpc146_vmstat_11.09.16.2100.dat ...

Parsing file sgpc146_netstat_11.09.16.2100.dat ...


Parsing file sgpc146_top_11.09.16.2100.dat ...

 

Parsing Completed.

 

 

Enter 1 to Display CPU Process Queue Graphs
Enter 2 to Display CPU Utilization Graphs
Enter 3 to Display CPU Other Graphs
Enter 4 to Display Memory Graphs
Enter 5 to Display Disk IO Graphs

Enter 6 to Generate All CPU Gif Files
Enter 7 to Generate All Memory Gif Files
Enter 8 to Generate All Disk Gif Files

Enter L to Specify Alternate Location of Gif Directory
Enter T to Specify Different Time Scale
Enter D to Return to Default Time Scale
Enter R to Remove Currently Displayed Graphs
Enter P to Generate A Profile
Enter A to Analyze Data
Enter Q to Quit Program

Please Select an Option:

 


 

你可能感兴趣的:(osw ERROR. You do not have a legitimate version of java in your PATH)