1. jorge gonzalez
  2. PowerBuilder
  3. Wednesday, 9 August 2023 16:47 PM UTC

Help!!!! :) 

On my work computer I created a simple PB application whose only job is to connect to a mainframe DB2 database using an IBM DB2 JDBC driver. It works fine. When I copy over the PB exe and pbd and ini file over to a new Windows 11 box and run it I get this annoying 'could not initialize JavaVM' message. This is how my sys op windows appears on my machine. i copied over the jdk1.6.0_24 to the other machine and the jdbc drivers and the little app will not work. Please help. I've tried everything.

jorge gonzalez Accepted Answer Pending Moderation
  1. Sunday, 13 August 2023 18:16 PM UTC
  2. PowerBuilder
  3. # 1

I finally figured out how to connect to IBM DB2 using IBM DB2 JDBC drivers from a Powerbuilder application. The Powerbuilder application is running on a machine that does not have the Powerbuilder IDE installed. I wrote up a Word document with the instructions. If you want a copy let me know and I will send it.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 9 August 2023 17:15 PM UTC
  2. PowerBuilder
  3. # 2

Hi Jorge;

  What release & build of PB are you using?

Regards .... Chris 

Comment
  1. jorge gonzalez
  2. Wednesday, 9 August 2023 18:27 PM UTC
Hello Chris,

We are using PB 2021 build 1509. I switched to using the IBM 32bit Java sdk on the windows 11 machine and got it to work but we wanted to use the one that comes with PB. I never got that one to work. When I tried switching back to IBM 32bit Java sdk it stopped working.

The jdk/jre that comes with PB on my machine works great. the small executable works fine but not on this other machine. The big application that connects to db2 also works well when using he IBM db2 jdbc driver.

Thanks
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.