There is nothing you can do for almost every application. If you do it for a single version, it is rather easy. However, if you want to run it for different versions of the software, then you need the Qt version of Java. You need to set up some special environment variables to be able to do that.