Answer by Lóránt Pintér for How to set Gradle `options.bootClasspath` in an...
Since Gradle 4.3 you can use CompileOptions.bootstrapClasspath instead to remove the need for an OS-dependent separator.
View ArticleAnswer by Larry Ricker for How to set Gradle `options.bootClasspath` in an os...
I tried to add many jars to my bootClassPath using the instructions above, but never resolved my build issue. I finally resolved the build by setting my JAVA_HOME to point to the IBM JDK 1.7 required...
View ArticleAnswer by gdt for How to set Gradle `options.bootClasspath` in an os...
The accepted answer can work, but if you're using some classes outside java.lang (e.g. javax.crypto.*) you may find you'll get various ClassNotFoundExceptionException's being raised as more JAR files...
View ArticleAnswer by Joshua Richardson for How to set Gradle `options.bootClasspath` in...
A slight modification of the cool solution by Oleg Estekhin above, but doesn't require JDKX_HOME to be set (calculates it on the fly.) Also, modified for doing Java 1.7 builds:...
View ArticleAnswer by Oleg Estekhin for How to set Gradle `options.bootClasspath` in an...
I am using the following code (assuming the JDK6_HOME points to the root of the JDK 1.6 installation): tasks.withType(JavaCompile) { doFirst { if (sourceCompatibility == '1.6' &&...
View ArticleHow to set Gradle `options.bootClasspath` in an os independent manner?
Because my Java sources and targets must be JRE 1.6 compatible, I need to set options.bootClasspath to a path that contains the 1.6 versions of rt.jar and jce.jar. It must build on both Windows and...
View Article
More Pages to Explore .....