I am trying to produce a histogram in Sas. I keep getting this error for some reason. I thought maybe it was my browser, so I tried it both on Chrome and Firefox with nothing different happening. Is this a Sas problem or my computer just acting weird? (I made a dummy data set and provided the log).
Code:
Data ab;
input first second;
datalines;
1 1
2 1
2 2
;
run;
proc sgplot;
series X=first Y=second;
run;
Log:
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
59
60 Data ab;
61 input first second;
62 datalines;
NOTE: The data set WORK.AB has 3 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 763.93k
OS Memory 25508.00k
Timestamp 06/27/2017 08:36:22 PM
Step Count 4 Switch Count 38
Page Faults 0
Page Reclaims 542
Page Swaps 0
Voluntary Context Switches 98
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
66 ;
67 run;
68
69 proc sgplot;
70 series X=first Y=second;
71 run;
NOTE: PROCEDURE SGPLOT used (Total process time):
real time 1.01 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 840.00k
OS Memory 25508.00k
Timestamp 06/27/2017 08:36:24 PM
Step Count 5 Switch Count 27
Page Faults 1
Page Reclaims 679
Page Swaps 0
Voluntary Context Switches 67
Involuntary Context Switches 0
Block Input Operations 352
Block Output Operations 272
ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.
ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.
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.
NOTE: There were 3 observations read from the data set WORK.AB.
72
73 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
85
What did you try in other browsers? Were you running this in SAS Studio or University Edition? And what ODS destination did you have active?
This seems to be the same problem as mentioned in https://communities.sas.com/t5/SAS-Analytics-U/Java-virtual-machine-error-on-SAS-studio-online-versi.... Are you using SAS on Demand or SAS UE online?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.