Java配合NX二次开发——搭建环境
Java配合NX二次开发——搭建环境
1.NX配置java的环境变量
UGII_JAVA_HOME
C:\Users\Administrator\.jdks\jdk1.8.0_45
UGII_JVM_LIBRARY_DIR
C:\Users\Administrator\.jdks\jre1.8.0_45\bin\server
//2.Java配置系统的环境变量(个人觉得用绝对路径比较靠谱)
//CLASSPATH
//.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
//JAVA_HOME
//C:\Program Files\Java\jdk1.8.0_45
//Path
//%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
3.idea配置运行库包
<img src="https://www.ugsnx.com/forum.php?mod=image&aid=378781&size=300x300&key=9848084b0fe54e49&nocache=yes&type=fixnone" border="0" aid="attachimg_378781" alt=""><img src="https://www.ugsnx.com/forum.php?mod=image&aid=378782&size=300x300&key=e178fa02bdc4a2ff&nocache=yes&type=fixnone" border="0" aid="attachimg_378782" alt=""><img src="https://www.ugsnx.com/forum.php?mod=image&aid=378783&size=300x300&key=b493e940b5e51a1a&nocache=yes&type=fixnone" border="0" aid="attachimg_378783" alt="">
徐华进 2022/12/19
好的分享值得拥有 谢谢楼主分享 感谢分享
页:
[1]