Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 665
IAmYourFaja Avatar asked Feb 17 '13 20:02

IAmYourFaja


People also ask

What are the JAR files in Java?

JAR stands for Java ARchive. It's a file format based on the popular ZIP file format and is used for aggregating many files into one. Although JAR can be used as a general archiving tool, the primary motivation for its development was so that Java applets and their requisite components (.


1 Answers

The 'javax' jars are owned and maintained by the JCP projects they belong to (http://www.jcp.org/en/home/index) 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 -> http://jcp.org/en/jsr/detail?id=243 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.

like image 143
Jasper Siepkes Avatar answered Sep 26 '22 16:09

Jasper Siepkes