Java sample code, getsession doesn't work (Ubuntu)
Java sample code, getsession doesn't work (Ubuntu)
(OP)
Hello, I was trying to use the UG sample testing Java code, InterOP.java, please see the attached code.
It compiles fine, but doesn't return the session's handler. (doesn't go through line 28, and throws a catch. the 'theUfSession' returns NULL);
Does anyone know how to solve it? It is due to environment configuration mistakes?
Many thanks!
It compiles fine, but doesn't return the session's handler. (doesn't go through line 28, and throws a catch. the 'theUfSession' returns NULL);
Does anyone know how to solve it? It is due to environment configuration mistakes?
Many thanks!





RE: Java sample code, getsession doesn't work (Ubuntu)
Try running it from an NX Command Window. To open one of these use you start menu (see attached image).
Graham Inchley, Systems Developer.
NX6, NX8.5(testing)
www.sandvik.com
RE: Java sample code, getsession doesn't work (Ubuntu)
Now it works.
Thanks!