Crude Java import solver