DATA Step, Macro, Functions and more

ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system a

Reply
Occasional Contributor
Posts: 8

ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system a

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        

Super User
Posts: 10,497

Re: ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or syst

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?

 

 

 

Super User
Posts: 6,936

Re: ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or syst

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?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Occasional Contributor
Posts: 8

Re: ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or syst

Dad studio
Ask a Question
Discussion stats
  • 3 replies
  • 237 views
  • 1 like
  • 3 in conversation