This SAS Note guides you through the steps required for performing a new installation of SAS Foundation and SAS client applications to use a 32-bit Java Runtime Environment (JRE) 7 in the Windows operating environment.
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 note assumes that you have read and are familiar with SAS Note 49296: "Using Java 7 with SAS® 9.3 TS1M2."
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.
SAS 9.3 TS1M2, including SAS Foundation and SAS client applications such as SAS® Information Map Studio and SAS® Management Console, can be configured to use Java 7 when all of the following requirements are met.
SAS® 9.2 and earlier releases of SAS 9.3 are not supported.
If you are not currently running SAS 9.3 TS1M2, you can request it by completing this form, or by contacting your SAS Installation Representative, or by contacting your SAS account team. (If you need help with identifying your account team, call SAS directly at 1-800-727-0025, option 2).
The steps for configuring the system environment variable are explained in this SAS Note as Part II: Complete the Oracle supplied workaround if using a 32-bit JRE 7 update 25 or later .
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.
Java SE Runtime Environment 7u25 is installed in this example, 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 the Windows logo key + Pause Break.
If you do not have a Windows keyboard, you can open the System Properties windows in the following ways:
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
Note: Java JRE installs to these default locations:
After your installation is complete, follow the steps in the SAS Hot Fix Analysis Download and Deployment Tool's "Usage Guide" to download and install required hot fixes.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | Microsoft® Windows® for x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 for x64 | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Microsoft Windows Server 2008 | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Microsoft Windows Server 2008 for x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 | ||
Microsoft Windows XP Professional | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows 7 Enterprise 32 bit | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows 7 Enterprise x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 | ||
Windows 7 Home Premium 32 bit | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows 7 Home Premium x64 | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows 7 Professional 32 bit | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows 7 Professional x64 | 9.3 | 9.4 | 9.3 TS1M0 | 9.4 TS1M0 | ||
Windows 7 Ultimate 32 bit | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows 7 Ultimate x64 | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows Vista | 9.3 | 9.3_M2 | 9.3 TS1M0 | 9.3 TS1M2 | ||
Windows Vista for x64 | 9.3 | 9.3_M2 | 9.3 TS1M0 | 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: | Installation Note |
Priority: | high |
Date Modified: | 2016-08-19 11:00:04 |
Date Created: | 2013-01-31 13:27:06 |