找回密码
 立即注册

QQ登录

只需一步,快速开始

微信扫码登录

搜索
查看: 5352|回复: 9

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

[复制链接]

4

主题

76

回帖

1700

积分

六级士官

积分
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

4

主题

76

回帖

1700

积分

六级士官

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

4

主题

76

回帖

1700

积分

六级士官

积分
1700
 楼主| 发表于 2018-2-6 13:28:03 | 显示全部楼层
看图片,,,,,不行了
{:titter:}{:sweat:}

4

主题

76

回帖

1700

积分

六级士官

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

12

主题

3140

回帖

2万

积分

少将

积分
23008

灌水王论坛元老

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

0

主题

7

回帖

186

积分

上等兵

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

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

评分

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

查看全部评分

4

主题

76

回帖

1700

积分

六级士官

积分
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=

4

主题

76

回帖

1700

积分

六级士官

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

4

主题

76

回帖

1700

积分

六级士官

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

2

主题

107

回帖

1056

积分

六级士官

积分
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|发帖须知!|Archiver|手机版|小黑屋|UG爱好者论坛 ( 京ICP备10217105号-2 )

GMT+8, 2025-2-17 06:49

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表