BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi I'm Sung Joon yi of Bank of Korea
I use EG 4.1 connected on BI Sever of AIX 5.3
Recently I tried the codes belows:

ods html;
ods graphics on;

title "Illustration of ODS Graphics";
proc timeseries data=sashelp.workers out= test
crossplot=all;
id date interval=month;
var electric;
crossvar masonry;
run;

ods graphics off;
ods html close;

but error occured with message
"ERROR: Java class generated an exception."
and then plot image did not appeared.

I also recevied a solution which made by sas of Korea:

"Add two statement into sasenv file belows
DISPLAY=:0
export DISPLAY
"
But this did not work either

Thanks for your reply in advance
2 REPLIES 2
Olivier
Pyrite | Level 9
Hi.

I don't know if your problem is the same, but maybe your java (JRE) version on the server is not the one that SAS is expecting (SAS 9.1.3 requires JRE 1.4.2_09). If your JRE version is 2 or higher, it can cause some trouble when using ODS GRAPHICS.

How does one check the JRE version on AIX ? This is far beyond my skills !
ChrisHemedinger
Community Manager
You can check the version of Java configured for your SAS server by running this SAS program:
[pre]
proc javainfo; run;
[/pre]
Chris
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 750 views
  • 0 likes
  • 3 in conversation