Known Issues with SAS

SAS is a complicated program to install and configure, and occasionally parts of it stop working correctly. This page lists some common issues we’ve seen with SAS and ways of fixing it.

Issue 1: SAS and Java Errors at startup

Issue 1: SAS and Java Errors at startup


SAS outputs the following message or something similar at SAS startup:

ERROR: The Java proxy is not responding.
ERROR: The Java proxy’s JNI call to start the VM failed.
ERROR: Java failed to start during the SAS startup.

This is likely because the version of Java SAS was configured for is no longer on your computer, because a recent Java update uninstalled the old one for security reasons.


The gist of the solution is to point the SAS configuration file to the newer version of Java on your computer. This requires some experience navigating your computer’s file system and editing text documents.

  1. Verify that Java 7 is installed on your computer. Use Windows Explorer to look for the directory C:\Program Files (x86)\Java\jre7\bin (or C:\Program Files\Java\jre7\bin on a 32-bit computer). You should see many files in there related to Java. If you don’t see a jre7 folder, go download and install Java 7 Update 80 from this link.
  2. In the Windows Start Menu, search for “notepad”, you should get the Notepad application as one of the top results. Right-click it and choose “Run As Administrator”.
  3. In Notepad, open the following file: “C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\en\sasv9.cfg”. This is the SAS configuration file that controls many settings for SAS operation.
  4. See the image below and look for the line that begins with -Dsas.jre.libjvm
    • It may say -Dsas.jre.libjvm=C:\PROGRA~2\Java\jre6_24\bin\client\jvm.dll
    • Change where it says “jre6_24” to “jre7”, or the relative path to where you found Java in Step 1. It should look like the highlighted text below.
  5. Save the file you just edited. If you have problems saving it, you need to remember to “Run As Administrator” in step 2.
  6. Open SAS and the Java error should no longer show up.

This solution will use Java 7 as opposed to Java 6 which was originally configured for SAS. We have had no issues reported when using Java 7 with SAS, however advanced SAS users may discover things we have not foreseen. Also, advanced SAS users may want to configure the SAS Application Launcher settings, information can be found at this SAS knowledgebase article. If you have particular concerns about Java 7 and SAS, please contact SAS Technical Support.