java-dest: make it possible to run, more than one java destination

Signed-off-by: Viktor Juhász <viktor.juhasz@balabit.com>