On codeexchange there's an example called "Calling Java from PB10" last
modified by: duquette on Friday, January 6, 2006 at 3:11:37 PM

I've looked at it and like it that I don't need the proxy, but it raises two
questions that my limited mind can't seem to figure out.

First is how do you regenerate the Java class in PB? I have added a new
method to the class and recompiled it, now I need the PB painter to get
updated so it knows about the new interface. Because it was identical to
another existing method, I exported the object, edited the .srx and
re-imported it. That worked but I'd like to know how to add that object or
regenerate it. I can't seem to figure out what that converter object in the
painter is.

Secondly (and most importantly) I cannot get the app to run compiled, I get
the PBNI error. I've confirmed I have a JRE and CLASSPATH set to valid
entries. This points to a larger issue with my clients using this app in
this way. We currently have our own JRE stashed underneath our application
to run a seperate satellite app we use on the side. I'd like to use that
JRE but I don't see how I can set the CLASSPATH to use that. I can NOT
modify the environment variables as some of these systems are locked down.

Any help would be appreciated.