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
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 946 views
  • 0 likes
  • 3 in conversation