Skip to content
kumattau edited this page Mar 28, 2016 · 2 revisions

Gradle

compatibility

旧バージョン用にコンパイルする場合、ランタイムのバージョンも合わせる。

sourceCompatibility = '1.7'
targetCompatibility = '1.7'

compileJava {
  options.fork = true
  options.bootClasspath = "/usr/lib/jvm/jdk-7-oracle-x64/jre/lib/rt.jar"
}

wuff

source/target を java-1.8 に指定した場合、作成した 3.x 系 RCP が起動できない。

Clone this wiki locally