SAS Error: Java proxy is not responding

reference: http://support.sas.com/kb/44/853.html

Two check-points for Java environment set up for SAS 9.3.

  • C:\Program Files\SASHome\sassw.config
    • REHOME=C:\Program Files (x86)\Java\jre1.6.0_24\bin\java.exe
  • C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\en\sasv9.cfg
    • Dsas.jre.libjvm=C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll

In the second check point, the Dsas.jre setup is crucial because when updating java to a higher version, the jvm.dll will be deleted and the newer version of java doesn’t have the jvm.dll.  In the sasv9.cfg, the directory for Dsas.jre.libjvm should be point to the older version where the jvm.dll file still exists.

Download previous version from a third party link here:

https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-for-jre.html

Diagnostics:

  1. run notepad as administrator
  2. open C:\Program Files\SASHome\x86\sassw.config
  3. verify the JRE that was used during installation process.
  4. current JRE configuration is JREHOME=C:\Program Files (x86)\Java\jre1.6.0_24\bin\java.exe
  5. Go to windows explorer and find java.exe doesn’t exist in the folder.
  6. There is another version of java under the jdk1.7.0_55 folder. This is a development package.  It doesn’t contain the jvm.dll file for SAS to access a JVM for JNI processing
  7. Download jre6 for windows at the third party link above. Pick the version that the filename contains “jre” and “i586”. I download the “Windows Offlline Installation” version under “Java SE Runtime Environment 6u22” which works.  The filename of the installation file is jre-6u22-windows-i586.exe.
  8. Install java run envirnoment.
  9. Use notepad to exit sasv9.cfg and update the directory for dsas.jre.libjvm to Dsas.jre.libjvm=C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
  10. The Java error message in sas disappeared.