moved www directory and also updated the code...

use this command instead:
java -Djavax.net.ssl.keyStore=server.jks
-Djavax.net.ssl.keyStorePassword=testing HttpsServer --port=9096