| Re: Problem with Java-IDL bridge with custom Java object [message #75828] |
Thu, 28 April 2011 13:40 |
Matt[4]
Messages: 3 Registered: April 2011
|
Junior Member |
|
|
On Apr 28, 11:21 am, Scott E <srel...@viawest.net> wrote:
> Alternatively you could run the workbench with the 1.6 jvm by editing
> the idlde.ini file to point to the 1.6 JVM on your system instead of
> the 1.5 JVM that shipped with IDL 7.1.
Thanks for the suggestion. However, it isn't applicable in this
situation as I'm not using the idlde and I can't rely on idlde being
available to people using the software.
|
|
|
|
| Re: Problem with Java-IDL bridge with custom Java object [message #75829 is a reply to message #75828] |
Thu, 28 April 2011 13:37  |
Matt[4]
Messages: 3 Registered: April 2011
|
Junior Member |
|
|
On Apr 28, 11:19 am, Scott E <srel...@viawest.net> wrote:
> UnsupportedClassVersionError means you are trying to load a class
> compiled with java 1.6 into a 1.5 JVM. Be sure and compile your custom
> java class with a 1.5 javac and it should work.
> Cheers,
> Scott
Thanks. This turned out to be the problem; I feel I should have
caught it quicker myself. As I only have javac 1.6 I had to do javac -
target 1.5 ....
|
|
|
|
|
|
|
|