Just try it and see what happens. If you're dealing with connections directly, you would use javax.net.ssl.HttpsURLConnection instead of java.net.HttpRULCOnnection, so you'd need at least
Java 1.4, or install JSSE if you're using an earlier JDK version.