You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Chen Guoping (Jira)" <ji...@apache.org> on 2019/11/04 03:08:00 UTC

[jira] [Commented] (COLLECTIONS-585) When use commons collection 3.2.2, show "JavaSE not found"

    [ https://issues.apache.org/jira/browse/COLLECTIONS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966380#comment-16966380 ] 

Chen Guoping commented on COLLECTIONS-585:
------------------------------------------

Hi,neal zhang11. Can you close the issue?

Refer to the release notes for the collections
http://apache.org/dist/commons/collections/RELEASE-NOTES.txt
Collections 3.2.2 is based on java1.3 development, your development environment is difficult to have java1.3 version.
It is recommended that you upgrade to version 4.2, which is applicable on java1.7.
The latest version of collections 4.4 is available for java 1.8 and above.

Java version information reference
[https://en.wikipedia.org/wiki/Java_version_history]


I agree with Bruno P.Kinoshita, this should be a problem with the IDE or the operating environment, not the software itself. This new setting in the software is to clarify the version information based on the collections development. For details, please refer to the pom.xml description:
  <!-- Current 4.x release series -->
    <commons.release.version>4.4</commons.release.version>
    <commons.release.desc>(Requires Java 8 or later)</commons.release.desc>

    <!-- Previous 4.2 release on Java 7 -->
    <commons.release.2.version>4.2</commons.release.2.version>
    <commons.release.2.desc>(Requires Java 7 or later)</commons.release.2.desc>
    <!-- Override generated name -->
    <commons.release.2.name>commons-collections4-${commons.release.2.version}</commons.release.2.name>

    <!-- Previous 4.1 release on Java 6-->
    <commons.release.3.version>4.1</commons.release.3.version>
    <commons.release.3.desc>(Requires Java 6 or later)</commons.release.3.desc>
    <!-- Override generated name -->
    <commons.release.3.name>commons-collections4-${commons.release.3.version}</commons.release.3.name>

    <!-- Previous 3.x release on Java 1.3 -->
    <commons.release.4.version>3.2.2</commons.release.4.version>
    <commons.release.4.desc>(Requires Java 1.3 or later)</commons.release.4.desc>

> When use commons collection 3.2.2, show "JavaSE not found"
> ----------------------------------------------------------
>
>                 Key: COLLECTIONS-585
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-585
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Collection
>    Affects Versions: 3.2.2
>         Environment: jdk1.7 commons-collections 3.2.2
>            Reporter: neal zhang11
>            Priority: Minor
>
> Hi all, when i use commons-collections 3.2.2, and build my rcp application. it always show this error:
>   [java] [eclipse.generateFeature] Some inter-plug-in dependencies have not been satisfied.
>      [java] [eclipse.generateFeature] Bundle org.apache.commons.collections:
>      [java] [eclipse.generateFeature] 	Host plug-in JavaSE_0.0.0 has not been found.
> but for commons-collections 3.2.1.every thing is fine. 
> and compared the 3.2.2 and 3.2.1 
> Mainfest.mf file add this:
> Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.3))"
> if remove it, i can build my application. 
> i use jdk1.7 in my local(i also tested jdk1.8, same problem)
> so i don't understand why show this problem.
> i am new guy for this, if misunderstand this, sorry



--
This message was sent by Atlassian Jira
(v8.3.4#803005)