added version check for recent java change with manjaro-system