at the top of my class i have
private static String SECRET_KEY = "";

how do i read a key and set it to SECRET_KEY?

if (SECRET_KEY == "") {
System.out.println("Please enter a secre key which both the client and server will share:");
}