Use LIFO queue so that last java app is selected as current