I'm not entirely sure what you're asking here. You mean you want to launch some external program from Java code?
If so, the Runtime class has exec functions that can do that:
There's so many ways of doing it. And exec isn't always the best way, but it might be what you're looking for.
I found a page with a rather large number of different ways to run external programs from Java:
Not sure why you want to do that in this case, but that's up to you.