Skip to content

Commit 1d38e4d

Browse files
committed
JRuby requires a minimum of Java 8
More recent JDKs will reject this command line because 1.6 is too old to build for.
1 parent c233be9 commit 1d38e4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
155155
classpath = (Dir['java/lib/*.jar'] << 'java/src' << JRUBY_JAR) * ':'
156156
obj = src.sub(/\.java\Z/, '.class')
157157
file obj => src do
158-
sh 'javac', '-classpath', classpath, '-source', '1.6', '-target', '1.6', src
158+
sh 'javac', '-classpath', classpath, '-source', '1.8', '-target', '1.8', src
159159
end
160160
JAVA_CLASSES << obj
161161
end

0 commit comments

Comments
 (0)