Re: Missing Java packages for java-1.6.0-openjdk under CentOS 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 2015-05-18, Robert Heller
<heller@xxxxxxxxxxxx> wrote:
> When I compile some Java code I am getting this sort of error:
>
> "package org.apache.http.annotation does not exist"
>
> I am presuming that I am missing a Jar file in
> /usr/lib/jvm/java-1.6.0-openjdk.x86_64.

The core JAR files are placed there. Third-party ones such as those from
the Apache projects go in /usr/share/java.

>
> Most of the Jar files in /usr/lib/jvm/java-1.6.0-openjdk.x86_64 come from one 
> or another RPMs, most from the CentOS 5 distro RPMs.  But I cannot figure out 
> which RPM(s) I am missing.  I tried doing a web search for 
> org.apache.http.annotation with el5 and rpm, but got nothing useful.  What am 
> I missing?

Which classes are you looking for? Some classes in the
jakarta-commons-httpclient rpm package match the above Java package
name, but they might not be what you want.

-- 

Liam


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux