全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
5053 3
2011-12-25
我运行程序如下:ods html  ;
   ods graphics on;

   proc autoreg data=cmb all;
      model r=  / nlag=2 method=ml;
      output out=p p=yhat pm=ytrend
                lcl=lcl ucl=ucl;
   run;

   ods graphics off;   
   ods html close;


结果显示为:
998  ods html  ;
NOTE: 正在写入 HTML Body(主体)文件: sashtml3.htm
999     ods graphics on;
NOTE: ODS Statistical Graphics will require a SAS/GRAPH license when it is declared production.
1000
1001     proc autoreg data=cmb all;
1002        model r=  / nlag=2 method=ml;
1003        output out=p p=yhat pm=ytrend
1004                  lcl=lcl ucl=ucl;
1005     run;

WARNING: 用 ODS 创建的统计图形显示在该版本中是试用功能。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
NOTE: 数据集 WORK.P 有 1215 个观测和 7 个变量。
NOTE: “PROCEDURE AUTOREG”所用时间(总处理时间):
      实际时间         5.38 秒
      CPU 时间         1.12 秒


1006
1007     ods graphics off;
1008     ods html close;


问题在哪里呢 ?怎么解决 ? 我是用的从论坛上下的版本?不是购买的正版
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-12-25 20:26:13
自己顶一下 上网找了两个解决方法都不行 悲剧啊
NOTE: ODS Graphics uses JAVA technology. If you encounter “ERROR: Java class generated an exception” it means
version 1.5 of the JRE has been installed on your system. To avoid this error and produce ODS graphics, use the following
fixes. If you do not need SUN’s Java JRE 1.5.0_02 installed then you uninstall this program using the add/remove programs
window from the windows control panel. Then you can install 1.4.1_02 from
http://java.sun.com/products/archive/j2se/1.4.1_02. If, however, you need to keep 1.5.0_02 installed, you can get SAS 9.1.3 to
work with it by taking the following steps. First, find the file called sasv9.cfg (this is typically found in the folder !sasroot\nls\en,
where !sasroot is the root directory in which SAS v9 resides). Before editing sasv9.cfg, copy it and rename one of the files
sasv9.old. Second, edit the file that is still called sasv9.cfg. Find the line containing the JREOPTIONS. Edit this line to
remove the option: -Xbootclasspath/p:!sasroot\core\sasmisc\sas.ads.webAFrt.jar
If the –JREOPTION parameter does not contain this parameter skip this step, but continue with the following steps. Still on
the JREOPTIONS line, modify the parameter –Dsas.jre=private to read -Dsas.jre=public and then save the file. Finally, find
the file !sasroot\core\sasexe\jldplgin.dll and rename it to !sasroot\core\sasexe\jldplgin.old
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-12-29 13:58:14
ods html 改为:ODS HTML3 BODY = 'c:\aaa.html'   gpath='C:\';
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-1-3 02:14:42
谢谢 LS的 我已经解决了 因为我原来的JAVA没有卸载干净
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群