全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
5359 5
2012-03-09
我是sas初学者,最近想练练sgplot过程,可是每次运行都显示 Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.  请问各位大虾啊,这到底是怎么回事啊,我已经从网上下载了个虚拟机安装上了啊,为什么还是不行?请哪位高人指点一下呢

二维码

扫码加我 拉你入群

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

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

全部回复
2012-3-9 21:23:08
貌似以前也遇到过,还是JAVA版本问题,根据报错,再下载一个安装试试。
二维码

扫码加我 拉你入群

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

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

2012-3-10 16:46:22
yugao1986 发表于 2012-3-9 21:23
貌似以前也遇到过,还是JAVA版本问题,根据报错,再下载一个安装试试。
报错就是  Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator
就是这样 下载了几个试过了也不行 依然感谢你 我在下载个试试
二维码

扫码加我 拉你入群

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

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

2012-12-10 09:24:39
我想问一下,现在这个问题解决了吗?是怎么样解决的?我也碰到这个问题,纠结了很长的一段时间,求help
二维码

扫码加我 拉你入群

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

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

2013-1-17 16:36:11
ljzhangoo 发表于 2012-12-10 09:24
我想问一下,现在这个问题解决了吗?是怎么样解决的?我也碰到这个问题,纠结了很长的一段时间,求help
请问您的问题解决了吗?我的是SAS 9.1.3,想做累计残差检验图,总是有这个错误做不了。。
二维码

扫码加我 拉你入群

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

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

2015-1-21 19:48:21
SAS官网的技术支持有这个问题的解决
http://support.sas.com/kb/44/853.html
自己(win8 64bit SAS 9.3)也存在这个问题,已经按照下面的步骤解决了(详细看上面网址的内容,下面内容可能格式有错乱)!

To debug these errors, try one or more of the following:

  • Verify the JRE that was used during the installation process: Open the sassw.config file in Notepad. This file is located in the !SASHOME directory. The default location isC:\Program Files\SASHome\sassw.config.

    Here is an example of the contents of the sassw.config file:

      [properties]  JREHOME=C:\Program Files (x86)\Java\jre1.6.0_24\bin\java.exe  SASHOME=C:\Program Files\SASHome  DPLMTREGLOC=C:\Program Files\SASHome\deploymntreg  SASENVIRONMENTSURL=  VJRHOME=C:\Program Files\SASHome\SASVersionedJarRepository
  • Verify that the JRE is working correctly by performing the following:
    • Click Start ► Run and type cmd.
    • Navigate to the bin directory listed in the sassw.config file by using the cd command. Here is an example:
      cd\
      cd "C:\Program Files (x86)\Java\jre1.6.0_24\bin\"
    • Use the -fullversion command to make sure that the JRE is functional:
      java -fullversion fusion_44853_1_fullversion.jpg

      If this is successful, go to the next check.

      If it is not successful, perform these steps:


      • From the Control Panel select Add/Remove Programs and select Java(TM) 6 Update 24 and remove the program. If you are using Windows 7 or Windows 2008, perform this action from Programs and Features.
      • Reboot the PC.
      • From Windows Explorer, right-click Start and select Open Windows Explorer or explore. Delete the JRE directory. For example:

        C:\Program Files (x86)\Java\jre1.6.0_24

      • If you have the SAS Software Depot available, you can click the jre*.exe file that is located in the SAS Software Depot to install the JRE that is needed. For example:

        SAS Software Depot\products\javaruntime__99170__win__xx__sp0__1\jre-6u24-windows-i586.exe

        SAS Software Depot\products\javaruntime__99170__wx6__xx__sp0__1\jre-6u24-windows-i586.exe

        Note: Both of these are 32-bit JRE installations, which is what SAS needs. Even if you have a x64 operating system, SAS needs the 32-bit JRE.

        You can also install this from our Third-Party Software page.


  • Verify the JREOPTIONS used by SAS® Foundation: Open the sasv9.cfg file in the !SASHOME directory and look for the JREOPTIONS statement. The default locations for the sasv9.cfg file are:
    C:\Program Files\SASHome\SASFoundation\9.3\nls\en\sasv9.cfg

    C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\en\sasv9.cfg



    Here is an example of the JREOPTIONS in SAS 9.3:


      /*  Options used when SAS is accessing a JVM for JNI processing  */  -JREOPTIONS=(     -DPFS_TEMPLATE=!SASROOT\tkjava\sasmisc\qrpfstpt.xml     -Djava.class.path=C:\PROGRA~1\SASHome\SASVER~1\eclipse\plugins\SASLAU~1.JAR     -Djava.security.auth.login.config=!SASROOT\tkjava\sasmisc\sas.login.config     -Djava.security.policy=!SASROOT\tkjava\sasmisc\sas.policy     -Djava.system.class.loader=com.sas.app.AppClassLoader     -Dlog4j.configuration=file:/C:/Program  %20Files/SASHome/SASFoundation/9.3/tkjava/sasmisc/sas.log4j.properties     -Dsas.app.class.path=C:\PROGRA~1\SASHome\SASVER~1\eclipse\plugins\tkjava.jar     -Dsas.ext.config=!SASROOT\tkjava\sasmisc\sas.java.ext.config     -Dsas.jre.libjvm=C:\PROGRA~2\Java\JRE16~1.0_2\bin\client\jvm.dll     -Dtkj.app.launch.config=C:\PROGRA~1\SASHome\SASVER~1\picklist     -Xms128m     -Xmx128m        )

    Using Windows Explorer, make sure that the path for the jvm.dll file is correct and that this file exists. Also verify that there are no extra lines of code in the JREOPTIONS section; it should look very similar to the lines shown above.

    IMPORTANT: In SAS 9.3, the JRE must be a 32-bit version of 1.6.0_24 or higher in the Java 6 release.

  • Verify the Windows short name (8.3 filename convention) in the sasv9.cfg file. Here is an example: Progra~1.
    • Click Start ► Run and type cmd
    • At the DOS command prompt, type dir /x c:\prog*   Your output should be similar to the following:   Directory of c:\           PROGRA~1     Program Files              PROGRA~2     Program Files (x86)
    • If you do NOT see the short file name listed (progra~1), run the following command to make sure that short files are enabled on your system:
         fsutil 8dot3name query C:   If short names are enabled the output will appear as follows:   The volume state for Disable8dot3 is 0 (8dot3 name creation is enabled).   The registry state of NtfsDisable8dot3NameCreation is 2, the default (Volume level setting).      Based on the above two settings, 8dot3 name creation is enabled on C:.

      If short names are not enabled on your system, you will need to contact your IT department for assistance or contact Microsoft. Additional information can be found in thisMicrosoft article.

      NOTE: As a SAS system requirement, the 8.3 filename convention must remain enabled.

      For more information, review the SAS System requirements:

      System Requirements for SAS 9.3 Foundation for Microsoft Windows

      System Requirements for SAS 9.3 Foundation for Microsoft Windows for x64




二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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