04-11-2017 05:23 PM
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;
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!
04-27-2017 07:19 AM
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.
05-11-2017 12:45 PM - edited 05-11-2017 12:51 PM
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....
05-11-2017 03:31 PM
I also looked at my sasv9.cfg file as indicated in the note:
everything is written as described, the codes are matching between my file and the corrected file in that note.
05-11-2017 04:04 PM
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.
05-11-2017 08:11 PM
Yes, effectively I have the creators update installed. Thanks for the info, I will be looking in these other posts.
06-15-2017 09:25 AM