1. Gregory Rusak
  2. PowerBuilder
  3. Tuesday, 23 April 2024 23:01 PM UTC


Now that Java (and JDK 1.6 support) has been discontinued in PowerBuilder 2022. What are our alternatives to calling Java Classes from a PowerBuilder application?

We have one component in our application that creates the Java Virtual Machine, instantiates the Java Proxy Objects, then calls the methods provided in the Java classes similar to the following:

So what can be done to support this going forward?

As always, your help with this is greatly appreciated.

Kind Regards,


Sivaprakash BKR Accepted Answer Pending Moderation
  1. Thursday, 25 April 2024 11:27 AM UTC
  2. PowerBuilder
  3. # 1

Check whether Run command is of any use in your case.

You can also try Roland's RunandWait utility, if required.


There are no comments made yet.
Bruce Armstrong Accepted Answer Pending Moderation
  1. Wednesday, 24 April 2024 20:38 PM UTC
  2. PowerBuilder
  3. # 2

In the short term you might see if you can create a .Net assembly that calls the java methods and then import that to PowerBuilder:


In the longer term you might want to look at replacing the java objects with .Net objects entirely.

  1. David Peace (Powersoft)
  2. Thursday, 25 April 2024 15:22 PM UTC
Agreed, we actually redeveloed the JAVA logic in PB. The reason for using JAVA was no longer valid as PB can do so uch more now.
  1. Helpful 1
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.