Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java sample code, getsession doesn't work (Ubuntu)

Status
Not open for further replies.

lugan2

Mechanical
Apr 10, 2013
42
0
0
GB
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!
 
 http://files.engineering.com/getfile.aspx?folder=e1bab7e5-2771-46d3-85c4-f85b798aad6e&file=InterOP.java
Replies continue below

Recommended for you

thanks for the reply Graham. I managed to solve the problem. I didn't update the bash file so leads to the problem.

Now it works.
Thanks!
 
Status
Not open for further replies.
Back
Top