楼主: tingmu
5027 5

[问答] 为什么总是显示无法下载java虚拟机呢??到底是什么原因啊? [推广有奖]

  • 3关注
  • 0粉丝

初中生

76%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
178 点
帖子
19
精华
0
在线时间
12 小时
注册时间
2011-9-18
最后登录
2016-8-2

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我是sas初学者,最近想练练sgplot过程,可是每次运行都显示 Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.  请问各位大虾啊,这到底是怎么回事啊,我已经从网上下载了个虚拟机安装上了啊,为什么还是不行?请哪位高人指点一下呢

二维码

扫码加我 拉你入群

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

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

关键词:是什么原因 无法下载 Java jav 虚拟机 java 下载 虚拟机 sas 一直无法运行

沙发
yugao1986 发表于 2012-3-9 21:23:08 |只看作者 |坛友微信交流群
貌似以前也遇到过,还是JAVA版本问题,根据报错,再下载一个安装试试。
三人行必有我师

使用道具

藤椅
tingmu 发表于 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
就是这样 下载了几个试过了也不行 依然感谢你 我在下载个试试

使用道具

板凳
ljzhangoo 发表于 2012-12-10 09:24:39 |只看作者 |坛友微信交流群
我想问一下,现在这个问题解决了吗?是怎么样解决的?我也碰到这个问题,纠结了很长的一段时间,求help

使用道具

报纸
若耶芳菲 发表于 2013-1-17 16:36:11 |只看作者 |坛友微信交流群
ljzhangoo 发表于 2012-12-10 09:24
我想问一下,现在这个问题解决了吗?是怎么样解决的?我也碰到这个问题,纠结了很长的一段时间,求help
请问您的问题解决了吗?我的是SAS 9.1.3,想做累计残差检验图,总是有这个错误做不了。。

使用道具

地板
epistar 学生认证  发表于 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




使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 15:36