![]() | ![]() | ![]() |
The ODS GRAPHICS ON statement, when used with a statistical procedure, might generate error messages in the SAS Log. The procedure will not create any graphics output due to these errors. This problem will also occur when using SAS/GRAPH procedures with the JAVAIMG device driver.
In most situations, the following errors will appear in the SAS Log when using ODS Statistical Graphics or regular SAS/GRAPH procedures with the JAVAIMG device driver:
Can't load class com/sas/tk/util/SetStandardOut. Can't redirect System.err to SAS log. Can't load class com/sas/tk/util/SetStandardOut. System.out not restored Can't load class com/sas/tk/util/SetStandardOut. System.err not restored ERROR: Java class generated an exception.
This problem occurs if Version 1.5 or higher of SUN's Java JRE is installed.
To circumvent the problem, do one of the following:
1. If you do not actually need SUN's Java JRE 1.5.0_02 (or higher) installed, you should first uninstall this version from your machine using Add/Remove Programs from your Windows Control Panel. Then you can install 1.4.1_02 from the following web site: http://java.sun.com/products/archive/j2se/1.4.1_02/ 2. To get SAS 9.1.3 to work with Sun's Java JRE 1.5.0_02 (or higher), follow these steps: First, exit any running SAS sessions and edit your SAS 9 config file. This file is called SASV9.CFG and is found in the following location: !sasroot\nls\en Before editing your SASV9.CFG file, you may want to make a back-up copy called SASV9.OLD. When editing your SASV9.CFG file, scroll down in the file and find the line that starts with -JREOPTIONS. Edit this line and remove the following option: -Xbootclasspath/p:!SASROOT\core\sasmisc\sas.ads.webAFrt.jar If the -JREOPTIONS line does not contain the parameter shown above, skip this step and continue with the rest of the information given below. At this point, save the changes to SASV9.CFG. Next, find the following file on your machine: !SASROOT\core\sasexe\jldplgin.dll and rename it to: !SASROOT\core\sasexe\jldplgin.old
After making the changes documented above, restart SAS and submit your ODS Graphics code again.
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | SAS/GRAPH | Microsoft Windows XP Professional | 9 TS M0 | 9.2 TS1M0 |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | 9.2 TS1M0 | ||
| Microsoft Windows NT Workstation | 9 TS M0 | |||
| Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | 9.2 TS1M0 | ||
| Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | 9.2 TS1M0 | ||
| Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Server | 9 TS M0 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Professional | 9 TS M0 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Advanced Server | 9 TS M0 | 9.2 TS1M0 | ||
| 64-bit Enabled Solaris | 9 TS M0 | 9.2 TS1M0 | ||
| Microsoft Windows 2000 Datacenter Server | 9 TS M0 | 9.2 TS1M0 | ||
| Solaris | 9 TS M0 | 9.2 TS1M0 | ||
| HP-UX | 9 TS M0 | 9.2 TS1M0 | ||
| z/OS | 9 TS M0 | 9.2 TS1M0 | ||
| Linux | 9 TS M0 | 9.2 TS1M0 | ||
| HP-UX IPF | 9 TS M0 | 9.2 TS1M0 | ||
| 64-bit Enabled HP-UX | 9 TS M0 | 9.2 TS1M0 | ||
| Tru64 UNIX | 9 TS M0 | 9.2 TS1M0 | ||
| 64-bit Enabled AIX | 9 TS M0 | 9.2 TS1M0 | ||
| OpenVMS Alpha | 9 TS M0 | 9.2 TS1M0 | ||
| AIX | 9 TS M0 | 9.2 TS1M0 |
| Type: | Problem Note |
| Priority: | high |
| Topic: | Third Party ==> Output ==> Device Drivers ==> Javaimg |
| Date Modified: | 2008-11-10 15:08:07 |
| Date Created: | 2005-05-18 10:16:53 |



