DATA Step, Macro, Functions and more

Java VM Error when running PROC SGPLOT

Reply
New User
Posts: 1

Java VM Error when running PROC SGPLOT

[ Edited ]

Hi every body,

i have a question about sas result,

when i run this code on sas base:

proc sgplot data=ews.data2;

series x=logchg y = change;

run;

 the log is:

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

administrator.

Please help me solve this problem,

thank you very much,

 

 

Super User
Posts: 11,343

Re: Java

Posted in reply to NhungPham

Which version of SAS are you running?

 

One thing to check if you have an IT department updating file is to see which version of Java, if any, you have installed. SAS can be a bit picky about the version of Java. You can run Proc Options and find the entry for JREOPTIONS to see which version and locations SAS expects to see Java files. If the version installed with SAS has been removed by a helpful IT department then it may need to be reinstalled.

Ask a Question
Discussion stats
  • 1 reply
  • 219 views
  • 0 likes
  • 2 in conversation