I compiled this code to .jar file and converted it to .exe using exe4j sofware.but as soon as i give inputs and press enter it wont display the results.please suggest what to do? and yes the code is free of errors.
Are you crazy? Deleting hal.dll (if it succeeds, I hope Windows prevents you from doing that) will seriously mess up your Windows installation. It's needed to make any piece of hardware to work - it's the Hardware Abstraction Layer main DLL. Why would you want to delete that?