fix potential compile error on systems where java is not detected correctly
fix potential compile error on systems where java is not detected correctly

geektoni/shogun,besser82/shogun,lisitsyn/shogun,karlnapf/shogun,sorig/shogun,lambday/shogun,shogun-toolbox/shogun,lisitsyn/shogun,lambday/shogun,lisitsyn/shogun,shogun-toolbox/shogun,Saurabh7/shogun,karlnapf/shogun,shogun-toolbox/shogun,Saurabh7/shogun,lambday/shogun,sorig/shogun,sorig/shogun,shogun-toolbox/shogun,shogun-toolbox/shogun,Saurabh7/shogun,besser82/shogun,sorig/shogun,Saurabh7/shogun,sorig/shogun,lambday/shogun,geektoni/shogun,Saurabh7/shogun,geektoni/shogun,Saurabh7/shogun,lambday/shogun,Saurabh7/shogun,karlnapf/shogun,karlnapf/shogun,geektoni/shogun,geektoni/shogun,lisitsyn/shogun,geektoni/shogun,besser82/shogun,besser82/shogun,besser82/shogun,lisitsyn/shogun,lambday/shogun,besser82/shogun,karlnapf/shogun,shogun-toolbox/shogun,Saurabh7/shogun,sorig/shogun,Saurabh7/shogun,karlnapf/shogun,lisitsyn/shogun