BookmarkSubscribeRSS Feed
Asquared
Calcite | Level 5

Hi, I tried to run the following code but was unable to get any graphics for the regression procedure.

 

Here's what the log looks like:

 

 

 

8 proc reg data=CEH;
NOTE: Writing HTML Body file: sashtml.htm
9 model DT_KCAL= DESR_GROUP / r influence;
10 output out= KCAL p=yhat_i r=e_i H=h_ii student=r_i rstudent=r_i_ext DFFITS=dffits_i cookd=D_i
10 ! ;
11 run;

ERROR: Unable to attach current thread.
ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or
system administrator.


NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.KCAL may be incomplete. When this step was stopped there were 0
observations and 0 variables.
NOTE: PROCEDURE REG used (Total process time):
real time 6.94 seconds
cpu time 1.54 seconds

12 quit;

 

 

 

I also tried to check the JRE version as suggested in the previous threads, tried to tap on the ODS graphic editor after which the SAS system closes but to no avail. What should I do in order to view the graphs?

Ps- I have used the graphs and this procedure before. And then I had to renew the SAS license. It seems like the problem is recent. In case, it important, I also updated my Windows 10.

 

 

 

 

 

 

5 REPLIES 5
ChrisHemedinger
Community Manager

Just guessing, but I'm thinking the Windows 10 update might have been the trigger.  You didn't mention the SAS version, but that will be important too, since where SAS finds the JRE is different for different versions.

 

You might need to get help from SAS Technical Support.  You will need to provide PROC OPTIONS output (especially the JRE options) and output from PROC JAVAINFO (which I expect will fail).

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
Asquared
Calcite | Level 5
Thank you, Chris.
I'm using SAS9.4
Like you mentioned, PROC JAVAINFO didn't run. Here's the output of PROC OPTIONS




SAS (r) Proprietary Software Release 9.4 TS1M3

JREOPTIONS=( -DPFS_TEMPLATE=C:\Users\Arushi
Arora\Desktop\SASFoundation\9.4\tkjava\sasmisc\qrpfstpt.xml
-Djava.class.path=C:\Users\ARUSHI~1\Desktop\SASVER~1\eclipse\plugins\SASLAU~1.JAR
-Djava.security.auth.login.config=C:\Users\Arushi
Arora\Desktop\SASFoundation\9.4\tkjava\sasmisc\sas.login.config
-Djava.security.policy=C:\Users\Arushi Arora\Desktop\SASFoundation\9.4\tkjava\sasmisc\sas.policy
-Djava.system.class.loader=com.sas.app.AppClassLoader
-Dlog4j.configuration=file:/C:/Users/Arushi%20Arora/Desktop/SASFoundation/9.4/tkjava/sasmisc/sas.l
og4j.properties
-Dsas.app.class.path=C:\Users\ARUSHI~1\Desktop\SASVER~1\eclipse\plugins\tkjava.jar
-Dsas.ext.config=C:\Users\Arushi
Arora\Desktop\SASFoundation\9.4\tkjava\sasmisc\sas.java.ext.config
-Dsas.jre.libjvm=C:\Users\ARUSHI~1\Desktop\SASPRI~1\9.4\jre\bin\server\jvm.dll
-Dtkj.app.launch.config=C:\Users\ARUSHI~1\Desktop\SASVER~1\picklist -Xms128m
-Xmx128m )
Specifies the Java Runtime Environment options for SAS
ChrisHemedinger
Community Manager

This looks like an unusual configuration, as all of the Java items (and maybe more) are installed under your DESKTOP space and not the usual Program Files.

 

SAS is looking for the private JRE here:

 

  C:\Users\ARUSHI~1\Desktop\SASPRI~1\9.4\jre\bin\server\jvm.dll

 

Does that file/folder exist?  Check the content of C:\Users\ARUSHI~1\Desktop\SASPRI~1\9.4\jre\bin and make sure it has the full Java runtime in it -- should be about 80 items including java.exe.

 

We'll be able to do only limited diagnostics here on the forum -- SAS Tech Support is the best approach to getting this resolved quickly.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
MartinMincey
SAS Employee

From what I can tell at this point, I think you are running into a known issue where a particular Windows 10 update breaks the connection between SAS and Java.  This issue is documented in the following SAS usage note:

 

http://support.sas.com/kb/60/323.html

 

Even though this is strictly a Windows issue, SAS R&D did manage to put a SAS fix into place beginning with SAS 9.4 TS1M5.  But a SAS hot fix for this issue is also available for SAS 9.4 TS1M3 and SAS 9.4 TS1M4.  You can download the appropriate hot fix via the SAS note mentioned above. 

 

Regards,

 

Martin Mincey

SAS Technical Support

Asquared
Calcite | Level 5

I tried to install and update and re run the syntax but it's still not working. I suppose, I'll have to contact SAS tech support. Thank you, though.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 2871 views
  • 1 like
  • 3 in conversation