'Where are all the javax jars?
Edit: several fellow SOers have recommended just going to Maven repos, which of course have nothing to do with using Maven as part of one's build. I understand this. The point of this question is simple: what websites, owned and maintained by Oracle, can I go to, to grab all my javax
jars? Not Maven repos. Not any other 3rd party repos. Oracle repos.
Let's say I don't like Maven, and don't want to have to go to a Maven repo to find my jars. How do I get javax.injection
? How about javax.validation
? Or any of the other javax
jars?
They don't seem to be available via Oracle's Java EE downloads website (which is shocking). So I ask: what does one have to do to get the official, Oracle-blessed javax
jars without having to consult a Maven repo?
Bonus points to anyone who can explain to me why these JARs seem to be intentionally difficult to find.
Solution 1:[1]
The javax jars are owned and maintained by the JCP projects they belong to, since they represent Java standards. So, strictly they are not Oracle blessed but JCP blessed. So the JCP page is also the official place to look.
For example if you navigate to the JDO2 spec and click on the download page for the FINAL release. Under "Reference Implementation and Technology Compatibility Kit:" is a bullet which states: "The API jar is available from..." which links to the Jar containing the 'javax' API interfaces.
Solution 2:[2]
Solution 3:[3]
If you download Tomcat you can grab the servlet-api.jar from the lib folder.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Bikram Kumar |
Solution 2 | jtahlborn |
Solution 3 | Soshmo |