[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5110) Detected JDK Version: 1.6.0-15 is not in the allowed range [1.5, 1.6).

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Apr 14 03:47:04 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36431#action_36431 ] 

Emmanuel Bernard commented on HHH-5110:
---------------------------------------

This is the right behavior, we do compile Hibernate with JDK 5, not 6. That being said, we probably should see if we can relax that for the actual tutorials as it does not make sense there.

> Detected JDK Version: 1.6.0-15 is not in the allowed range [1.5,1.6).
> ---------------------------------------------------------------------
>
>                 Key: HHH-5110
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5110
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.5.0-Final
>         Environment: Linux version 2.6.31-20-generic, Ubuntu 4.4.1-4ubuntu8
>            Reporter: Michal Petrus
>            Priority: Trivial
>
> The problem's appeared during hibernate-distribution-3.5.0-Final/project/tutorials/web compilation.
> I am using:
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
> 1. unpack hibernate-distribution-3.5.0-Final-dist.tar.gz
> 2. go to ....hibernate-distribution-3.5.0-Final/project/tutorials/web
> 3. run  mvn install
> I got following error message:
> Rule 0: org.apache.maven.plugin.enforcer.RequireJavaVersion failed with message: Detected JDK Version: 1.6.0-15 is not in the allowed range [1.5,1.6).
> It is strange 'cause I am using right java version.
> The only place checking java version is in ...hibernate-distribution-3.5.0-Final/project/parent/pom.xml
> When I changed line 135 
> <version>[1.5,1.6)</version> to <version>[1.5,)</version>
> it started working.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list