You could try using JDIC (JDesktop Integrated Components)
That allows you access to system applications without runtime calls.
https://jdic.dev.java.net/documentation/Examples.html
The fourth example down demonstrates... should be fine for Linux / Solaris & Windows.
I believe you may be able to do something similar within JDK 6 now but not 100% sure