I\'m testing Java on a Windows Surface Pro. The Surface Pro has Java 7 Update 55, but does not have the JDK installed.
I compiled a program on my MacBook fr
From the command line, change your call to:
javac -source 1.7 -target 1.7 HttpsTest.java SSLSocketFactoryEx.java
The documentation for javac (for JDK 8) is here.
The documentation for javac (for JDK 9) is here.
Note: In JDK 9, -target is replaced with --release.