QQ登录

只需一步,快速开始

快捷登录

登录 或者 注册 请先

UG爱好者

查看: 4836|回复: 9

[已回复] UGII_JVM_LIBRARY_DIR设置,本人win7 64系统

[复制链接]

六级士官

Rank: 4

4

主题

81

帖子

1700

积分
发表于 2018-2-6 09:57:47 | 显示全部楼层 |阅读模式
Could not locate the Java Virtual Machine(JVM) library.
To correct this,first check whether the Java Runtime Environement is correctly installed.
Then,set UGII_JVM_LIBRARY_DIR to the directory where the Java Virtual Machine (JVM) library is located. This can be done by changing the value using the Override Java Parameters cmmand or by changing the value in the ugii_env file. If you change the value in the ugii_env file,a restart is required in order for the change to take effect. For more information, see the NX Open for Java Progrmmer's Guide.

文件:o:\ugnx120\ip27\src\syss\no\ind\lmldr.c, 行号;2172
JRE check failed

找不到虚拟机.jpg

有奖推广贴子: 

回复

使用道具 举报

六级士官

Rank: 4

4

主题

81

帖子

1700

积分
 楼主| 发表于 2018-2-6 13:08:59 | 显示全部楼层
       
参与/回复主题关闭
RE: UGII_JVM_LIBRARY_DIR设置,本人win7 64系统 [修改]
回复 支持 反对

使用道具 举报

六级士官

Rank: 4

4

主题

81

帖子

1700

积分
 楼主| 发表于 2018-2-6 13:28:03 | 显示全部楼层
看图片,,,,,不行了
回复 支持 反对

使用道具 举报

六级士官

Rank: 4

4

主题

81

帖子

1700

积分
 楼主| 发表于 2018-2-6 13:29:07 | 显示全部楼层
文件名添加到帖子
Java问题.png
Java问题1.png
回复 支持 反对

使用道具 举报

少将

Rank: 8Rank: 8

12

主题

3170

帖子

2万

积分

灌水王论坛元老

发表于 2018-2-6 13:59:26 | 显示全部楼层
路過,學習學習!!!
回复 支持 反对

使用道具 举报

上等兵

Rank: 1

0

主题

7

帖子

186

积分
发表于 2018-2-6 16:07:19 | 显示全部楼层
a190295060 发表于 2018-2-6 13:29
文件名添加到帖子

环境变量中java指向不对,指向的未1.7版,需要至少1.8以上的才行。

评分

参与人数 1G币 +10 收起 理由
3D世界网-零 + 10 不错,支持你!

查看全部评分

回复 支持 反对

使用道具 举报

六级士官

Rank: 4

4

主题

81

帖子

1700

积分
 楼主| 发表于 2018-2-7 08:36:00 | 显示全部楼层
# Java NXOpen Environment Variables
#########################################################################
#
# UGII_JAVA_HOME should point to the base directory of the JRE Installation.
# The value below is just an example that will be different on your system.
# Changing this variable will cause all NX java based applications to use the specified JRE.
# This is an example of how this value can be set.  Note that UGII_JAVA_HOME
# is now read from the registry as well.  So the order of precedence becomes:
#    1.  ugii_env.master file if set
#    2.  System environment variable
#    3.  value read from UGII_ENV_FILE if set
#    4.  value read from users ugii_env.dat file if set
#    5.  Registry value read from HKLM\SOFTWARE\JavaSoft
#    6.  The value set below.
# in addition if the ugii_env.master file has a value of:
#    UGII_JAVA_HOME=
# then this forces the reading of the registry bypassing steps 2-4 above.

#if x64wnt
#if FILE c:\apps\Java\jre8x64
UGII_JAVA_HOME=c:\apps\Java\jre8x64
#else
#if FILE "C:\Program Files\Java\jre8"
UGII_JAVA_HOME="C:\Program Files\Java\jre8"
#endif
#endif
#else
#if FILE c:\apps\Java\jre8
UGII_JAVA_HOME=c:\apps\Java\jre8
#else
#if FILE "C:\Program Files (x86)\Java\jre8"
UGII_JAVA_HOME="C:\Program Files (x86)\Java\jre8"
#endif
#endif
#endif

#
# This is the JVM that will be used for NXOpen Java applications.
# UGII_JVM_LIBRARY_DIR is set to the directory specified in UGII_JAVA_HOME.
# NOTE: changing this value only changes the JRE used by NX Open applications.
#
# On windows 64 only the server JVM library is in the JRE
#
#if x64wnt
UGII_JVM_LIBRARY_DIR=${UGII_JAVA_HOME}\bin\server
#else
UGII_JVM_LIBRARY_DIR=${UGII_JAVA_HOME}\bin\client
#endif

#UGII_JVM_OPTIONS can be set with optional JVM options
# To make sure the JVM can start up on windows we will
# set the max heap size.  This will help ensure the
# JVM is able to start up correctly
UGII_JVM_OPTIONS=
#UGII_CLASSPATH can be set to a common class repository
UGII_CLASSPATH=
回复 支持 反对

使用道具 举报

六级士官

Rank: 4

4

主题

81

帖子

1700

积分
 楼主| 发表于 2018-2-7 08:36:42 | 显示全部楼层
这段程序怎么理解
回复 支持 反对

使用道具 举报

六级士官

Rank: 4

4

主题

81

帖子

1700

积分
 楼主| 发表于 2018-2-27 09:54:33 | 显示全部楼层
UGII_JVM_LIBRARY_DIR设置,本人win7 64系统,
问题还没解决
回复 支持 反对

使用道具 举报

六级士官

Rank: 4

2

主题

109

帖子

1056

积分
发表于 2018-3-29 00:20:03 | 显示全部楼层
a190295060 发表于 2018-2-27 09:54
UGII_JVM_LIBRARY_DIR设置,本人win7 64系统,
问题还没解决

同样遇到这个问题,求解决。10.0的可以生成报告。11.0也可以……
回复 支持 反对

使用道具 举报

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

本版积分规则

 
 
QQ:1359218528
工作时间:
9:00-17:00
 
微信公众号
手机APP
机械社区
微信小程序

手机版|UG爱好者论坛 ( 京ICP备10217105号-2 )    论坛管理员QQ:1359218528

本站信息均由会员发表,不代表本网站立场,如侵犯了您的权利请联系管理员,邮箱:1359218528@qq.com  

Powered by UG爱好者 X3.2  © 2001-2014 Comsenz Inc. GMT+8, 2024-3-29 06:50

返回顶部