I was using readLine of BufferedReader to get input/new password from user, but wanted to mask the password so I am trying to use java.io.Con
readLine
BufferedReader
java.io.Con
That is right.
You will have to run the application outside of Eclipse. Look at the launcher configuration panels within Eclipse and see if you can spot the option that says to run the command in a separate JVM.