Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the jar file

 
vn us
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use sun.net.www.protocol.http.HttpURLConnection package in one of my class file, I'm not able to find in which JAR this package will be available.
I spent hours to search for it and couldn't able to find name the jar file that has this class file in it.
any help is appriciated
Thanks,
VNUS
 
Sanjeev Kaushik
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any package name starting with "sun" is used by the JVM internally. These are non-standard and should not be used directly. Also Sun does not release any api documentation on these packages.
Sanjeev
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic