1. Scott Blacklock
  2. PowerBuilder
  3. Thursday, 26 October 2017 05:08 AM UTC

Hi,

We are using PBNI to connect to a local JVM and create Java instances (using the javavm and ejbconnection PB objects) for a module in our PB app.  We are currently using the 32 bit JVM (Java 1.8) and all is working fine.

I believe that now Oracle have said that they will not be supporting a 32 bit JVM for Java 1.9 and support for 1.8 is coming to a close later next year.

Does anyone have any idea if we will we be able to use Java 1.9 (which will only be 64 bit) with PBNI?  64 bit doesnt seem to be supported?

Regards,

Scott B

Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 26 October 2017 12:12 PM UTC
  2. PowerBuilder
  3. # 1

I have had good luck compiling C++ code as 64bit and having it work with 64bit PowerBuilder executables.

Because the IDE is 32bit, you would need both 32bit and 64bit versions on your machine.

 

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 26 October 2017 16:15 PM UTC
  2. PowerBuilder
  3. # 2

Our application uses the RUN command to fire off an instance of Java.

This required neither the PBNI or the JVM - it only needs Java installed on the client, and we deliver and install the version we need into the application folder.

Note that after the RUN command is executed the PowerBuilder processing continues asynchronously, so the TIMER event is used to detect when the Java processing has finished.


Olan

Comment
  1. Roland Smith
  2. Thursday, 26 October 2017 20:47 PM UTC
  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.