cancel
Showing results for 
Search instead for 
Did you mean: 

NX User Exits Java

Valued Contributor
Valued Contributor

I wrote serveral nxopen programs ,and I want to write a update framework to update all the programs automatically.How can I make the updata program start when nx startup? 

The MenuBarJavaApp sample isn't work.And the siemens document mention User exits may help this situation,but there is no sample code in java .I write a java class with entry function :

public static void startup (String [] args)throws NXException, java.rmi.RemoteException

but turn out with this exception:

无标题.png

2 REPLIES

Re: NX User Exits Java

Valued Contributor
Valued Contributor

I set the system environment name USER_STARTUP point to the java appliction is work.

Re: NX User Exits Java

Valued Contributor
Valued Contributor

Startup entrypoint don't support .class file, but support .jar file.