[hibernate-dev] Hibernate ORM and JDK 6

Sanne Grinovero sanne at hibernate.org
Tue Sep 24 14:31:10 EDT 2013


Unfortunately it's not straight-forward in Eclipse either, you need to
disable that circularity error from the compiler options.

I guess it's not a showstopper if you are strongly motivated to find
out, nor annoying for who codes on it every day, but in my case I
force-reset the workspaces quite often and I got to the point that I
procrastinate on importing ORM, resorting to vi + command line builds
unless I really need more navigation help.

You might wonder why I like to wipe clean my workspaces?
On projects I read mostly I tend to need to jump to different
branches, often far in time, in which the source code organization is
likely different, so I'd need to re-import projects in all IDE anyway.
On the regular projects I work on, I also do it for the sake of
verifying it is a nice out-of-the-box experience for new contributors.

Frankly this "least pain" strategy for the occasional contributor is
what I still consider an nice point of Maven.


On 24 September 2013 18:29, Steve Ebersole <steve at hibernate.org> wrote:
> Why/how?  I do this routinely.
>
> On 09/24/2013 12:26 PM, Emmanuel Bernard wrote:
>> I am still stuck on that one. I cannot import Hibernate ORM in IntelliJ IDEA :(
>>
>> On 17 mai 2013, at 03:28, Emmanuel Bernard wrote:
>>
>>> yes the projects themselves can use JDK 7.
>>>
>>> On Fri 2013-05-17 11:59, Gunnar Morling wrote:
>>>> Have you registered a JDK 7 under "Platform Settings" -> "SDKs"?
>>>>
>>>>
>>>> 2013/5/17 Sanne Grinovero <sanne at hibernate.org>
>>>>
>>>>> ORM requires JDK7 to build, while it still targets Java6 for users.
>>>>> On 17 May 2013 10:26, "Emmanuel Bernard" <emmanuel at hibernate.org> wrote:
>>>>>
>>>>>> I tried to get ORM imported in IntelliJ IDEA and it fails with a
>>>>>> Unsupported major.minor version 51.0.  In Mac OS IntelliJ boots with JDK
>>>>>> 1.6 AFAIK and it seems the tools (like gradle) inherit this.
>>>>>>
>>>>>> Any of the Mac guys found an acceptable solution to import the Gradle
>>>>>> project in IntelliJ?
>>>>>>>  From what
>>>>>>
>>>>> http://stackoverflow.com/questions/13019199/how-do-i-run-idea-intellij-on-mac-os-x-with-jdk-7
>>>>>> says, it's sort of messy to force JDK 7.
>>>>>>
>>>>>> Emmanuel
>>>>>> _______________________________________________
>>>>>> hibernate-dev mailing list
>>>>>> hibernate-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>>
>>>>> _______________________________________________
>>>>> hibernate-dev mailing list
>>>>> hibernate-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>>>
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list