Java – Call VB program from Java


I was wondering if someone could tell me the best way to call a Visual Basic program from Java. I have a few VB applications that I want to run from a Java application that I'm building.

Best Solution

You can use ProcessBuilder.start() or the older Runtime.exec() to launch processes. This information is available in the Java SE docs.