cancel
Showing results for 
Search instead for 
Did you mean: 

NX10 Open Java remote example

Genius
Genius

I get a Java exception error when trying to execute the sample Java remoting example via NX Open.

 

My environment variable is  UGII_JAVA_HOME=C:\Program Files\Java\jre1.8.0_45

 

I also tried adding this environment variable UGII_JVM_LIBRARY_DIR=C:\Program Files\Java\jre1.8.0_45\bin\server but I get the same exception error

 

Is there another env variable/option that I need to set? What should I set for UGII_CLASSPATH? The readme mentions using

port 1099 for rmiregistry

2 REPLIES

Re: NX10 Open Java remote example

Genius
Genius

Re: NX10 Open Java remote example

Genius
Genius

Attached is the .jar, .class, and manifest files that I am using. When executing the .jar file in NXOpen, I still get an exception error.

 

In my manifest, I set NXRemoteServerImpl as the main-class