I run throught the steps here:
https://community.jboss.org/wiki/BuildingHibernateORM4x5x
And at first I got an out of memory error, so I increased the JVM stack sizes by creating a gradle.properties file with the following line:
org.gradle.jvmargs=-Xms512m -Xmx1024m
That got me further down the build, but now I'm getting this error:
Code:
..../hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/service/ClassLoaderServiceImplTest.java:121: cannot find symbol
symbol : method emptyEnumeration()
location: class java.util.Collections
return java.util.Collections.emptyEnumeration();
^
..../hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/LocaleTypeDescriptorTest.java:55: cannot find symbol
symbol : class Builder
location: class java.util.Locale
final Locale.Builder builder = new Locale.Builder();
^
..../hibernate-orm/hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/LocaleTypeDescriptorTest.java:55: cannot find symbol
symbol : class Builder
location: class java.util.Locale
final Locale.Builder builder = new Locale.Builder();
It's when trying to build this task:
:hibernate-core:compileTestJava
Any ideas on how to fix this? Or what I might be doing wrong?
Cheers