UGII_JVM_LIBRARY_DIR设置,本人win7 64系统
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
{:sad:}
参与/回复主题关闭
RE: UGII_JVM_LIBRARY_DIR设置,本人win7 64系统 [修改] 看图片,,,,,不行了
{:titter:}{:sweat:} 文件名添加到帖子 路過,學習學習!!! a190295060 发表于 2018-2-6 13:29
文件名添加到帖子
环境变量中java指向不对,指向的未1.7版,需要至少1.8以上的才行。 # 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= 这段程序怎么理解 UGII_JVM_LIBRARY_DIR设置,本人win7 64系统,
问题还没解决 a190295060 发表于 2018-2-27 09:54
UGII_JVM_LIBRARY_DIR设置,本人win7 64系统,
问题还没解决
同样遇到这个问题,求解决。10.0的可以生成报告。11.0也可以……
页:
[1]