BookmarkSubscribeRSS Feed
ep12
Calcite | Level 5

Hi,

 

I have been unable to generate a graph due to the error appearing in my log after a proc sgplot:

 

proc sgplot data=x;
histogram y / scale=percent;
run;

 

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

 

I have Sas 9.4 64 bits, running on Windows 10 64 bit PC. My Java is version 8, but wasn't it already included in 9.4? 

 

How do I resolve this problem?

 

Thank you for the help!

 

 

7 REPLIES 7
Damo
SAS Employee

Hi ep12,

 

The issue might be resolved by now but for such problem, you may want to contact your local SAS Technical Support.
said that, an easy workaround might be to change the device you're using.

From Tools => Options => Graph, you can change the Graph Format.

 

Hope that helps.

 

Cheers,
Damo

ep121
Calcite | Level 5

Hi,

 

The problem is still ongoing, and there is no graph selection in tools--options (see attached a print screen). And so far in 1 month with the technical support, no improvement have been made....


tootls.png
ep121
Calcite | Level 5

I also looked at my sasv9.cfg file as indicated in the note:

 

http://support.sas.com/kb/59/441.html

 

everything is written as described, the codes are matching between my file and the corrected file in that note.

SASKiwi
PROC Star

Are you running Windows 10 Creators Update by any chance? That was the latest upgrade that MS rolled out in April 2017. There are reports of Java-related SAS problems with this update in other posts. 

ep121
Calcite | Level 5

Yes, effectively I have the creators update installed. Thanks for the info, I will be looking in these other posts.

 

qinz
Calcite | Level 5

Hi, I meet the same problem. Do you know how to solve it? Thanks 

Damo
SAS Employee

Hi @qinz

 

The issue is discussed with Problem Note 60323 (Java errors due to the Windows 10 Creators Update might occur when you invoke SAS®).

All available details are listed there.

 

Cheers,
Damo

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 4613 views
  • 0 likes
  • 5 in conversation