This note assumes that you have read and are familiar with SAS Note 49296: "Using Java 7 with SAS® 9.3 TS1M2."
SAS 9.3 TS1M2, including SAS® Foundation and SAS client applications such as SAS® Information Map Studio and SAS® Management Console, now supports Java 7. Consequently, you need to reconfigure your SAS installation to be able to use Java 7.
This SAS Note guides you through modifying your existing SAS Foundation installation and existing SAS client applications in the Windows operating environment to include Java Runtime Environment (JRE) 7.
Important: Before starting this process, read through the entire note so that you are aware of all preliminary requirements and potential issues as well as optional ways to accomplish these tasks.
The steps for configuring the system environment variable are explained in this SAS Note as Part II.
Note: This SAS Note does not address a SAS installation with any type of SAS® Metadata Server or a middle-tier environment. For more information about this, see Configuring SAS® 9.3 to Use an Alternative Java Runtime Environment or Java Development Kit, or see SAS Note 49296: "Using Java 7 with SAS® 9.3 TS1M2."
This section explains how to download and then install a supported JRE 7 from the Oracle website.
If you are installing SAS 9.3 it is essential that you preinstall JRE version 7 before running the SAS® Deployment Wizard, so that you can select JRE 7 as an alternate JRE during the installation process.
In this example, Java SE Runtime Environment 7u25 is installed, but you can use any 32-bit JRE 7 that is supported for use with SAS software.
Note: Oracle prompts you to sign in. If you do not have an Oracle account, you can create one and then download the 32-bit Java 7.
On each machine where SAS Foundation or a SAS client is to be installed, define a Windows system environment variable named JAVA_TOOL_OPTIONS and assign it a value of -Djdk.lang.Process.allowAmbigousCommands=true, as follows:
On your keyboard, press Windows logo key + Pause Break.
If you do not have a Windows keyboard, you can open the System Properties windows in the following ways:
Click the Start icon. In the search box, type systempropertiesadvanced and press Enter.
In the Windows Start screen, type systempropertiesadvanced and press Enter.
Select Start ► Settings ► Control Panel ► System. If you do not have the option to select System, switch the Control Panel to the Classic View.
Note: The word “Ambigous” is a misspelling in the Oracle option. (See bug JDK-8017467 for additional details.) The spelling above represents the correct option name for Java version 7.L
In this section, you edit your existing SAS environment to recognize the new Java 7 installation. You have the option to A) follow the manual steps shown below, or B) use the automated Configuration Changer, which performs the manual steps for you automatically.
The sassw.config file is located in the !SASHOME directory.
The default location is C:\Program Files\SASHome\sassw.config.
Modify the JREHOME line to look like one of the following, depending on your system architecture.
Edit the jvm.dll under the JREOPTIONS to look like one of the following, depending on your system architecture.
This tool does not install Java. It just does what the manual steps in Option A, above, do. If this automated process does not successfully complete for you, follow the manual configuration steps in Option A, above.
Follow the steps in the SAS Hot Fix Analysis Download and Deployment Tool's "Usage Guide" to download and apply hot fixes. Ensure that Java 7 hot fixes listed under the Hot Fix tabs in links at SAS Note 49296: "Using Java 7 with SAS® 9.3 TS1M2" are included as appropriate for products in your installation.
After you have installed your SAS Foundation products, validate them as documented in the "SAS® 9.3 Qualification Tools User’s Guide". If any products or tools do not validate, contact the Windows BI Team in SAS Technical Support.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | Microsoft® Windows® for x64 | 9.3_M2 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2003 Standard Edition | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2003 for x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2008 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2008 for x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Microsoft Windows XP Professional | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Enterprise 32 bit | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Enterprise x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Home Premium 32 bit | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Home Premium x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Professional 32 bit | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Professional x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Ultimate 32 bit | 9.3_M2 | 9.3 TS1M2 | ||||
Windows 7 Ultimate x64 | 9.3_M2 | 9.3 TS1M2 | ||||
Windows Vista | 9.3_M2 | 9.3 TS1M2 | ||||
Windows Vista for x64 | 9.3_M2 | 9.3 TS1M2 |
proc options option=jreoptions; run;
proc javainfo; run;
%let workdir=%trim(%sysfunc(pathname(work)));
ods _ALL_ close;
ods html path = "&workdir" (url=none)
file = "sastest.html";
ODS Graphics On;
proc genmod data=sashelp.class;
model height = weight / scale=Pearson;
assess var=(weight) / resample=10000
seed=603708000
crpanel ;
run;
ODS Graphics Off;
proc sgplot data=sashelp.class;
scatter x=height y=weight / group=sex;
discretelegend;
run;
ods html close;
ods listing;
Type: | Usage Note |
Priority: |
Date Modified: | 2013-07-29 10:57:24 |
Date Created: | 2013-02-04 11:11:38 |