on 2014 Jun 23 10:58 AM
Hi All,
After upgrading to the 64bit version of PowerDesigner I could no longer connect to PowerDesigner using Java. Ultimately it was a problem which I could only fix by modifying the jar file with the interop that comes with PowerDesigner. The interop in the installation is a 32bit version. Using this with a 32bit JVM and 32bit Eclipse library version resulted in an error telling me that PowerDesigner was not installed. Using it with the 64bit JVM and Eclipse libraries resulted in another error telling me that the function was not found.
Has anyone had similar problems using Java to connect to PowerDesigner? I have logged an incident with SAP but there is no solution yet from them.
If you have please respond, so I can make a better case for fixing it 🙂
Best regards,
Marcel
Request clarification before answering.
16.5.5 x64 was released with 32 and 64-bit Java support - a pdj2com_16.5.5.jar (32-bit JVM) and pdj2com_16.5.5x64.jar (64-bit JVM).
Both can be found in the PD installation directory. The 32-bit is still in the 'Ole Automation\Java Samples\Create OOM' directory.
To use the 64.bit, you must use also the 64-bit Eclipse SWT dlls as well.
I have found that as long as you use the correct Eclipse SWT dlls and matching pdj2com .jar file, you can call PD automation even if you are using 32-bit Java to call 64-bit PD. Now you can use 64-bit Java to call 64-bit PD.
(I had one of the engineers fix this a while ago, but it needed to get into the release code line. You should not need to open a case, other than to perhaps add documentation in the new features).
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.