rest.li icon indicating copy to clipboard operation
rest.li copied to clipboard

Java 8 is required for build

Open iamenahs opened this issue 10 years ago • 1 comments

if(!project.sourceCompatibility.isJava8Compatible()) // lower bound of java versions we support.
{
      throw new GradleScriptException("Pegasus required Java 8 or later to build, current version: ${JavaVersion.current()}", null)
}

Java 8 is required for build while https://github.com/linkedin/rest.li/wiki#requirements is still showing:

  • Java 1.6+

PermGen has been removed from JDK8, so the following parameter in https://github.com/linkedin/rest.li/wiki/Building-Rest.li-from-Source#out-of-memory-while-trying-to-build is also unnecessary: -XX:MaxPermSize=1024M

iamenahs avatar Apr 30 '16 16:04 iamenahs

Thanks for reporting. Looks like wiki has been updated. Closing issue.

ssheng avatar Jul 11 '16 18:07 ssheng