-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Get the JRuby logo using
curl http://jruby.org/images/jruby-logo.png > jruby-logo.pngThe following Java program Main.java:
public class Main {
public static void main(String[] args) {
try {
Thread.sleep(3000);
} catch (InterruptedException ie) {
System.out.println("Interrupted!");
}
System.out.println("Hello World");
}
}compiled with
javac Main.javaand started with the following line
java -splash:jruby-logo.png Maindisplays the JRuby logo as a splash. This works on Java 6, Java 7, and Java 8.
However the corresponding Ruby command line
ruby -rjava -J-splash:jruby-logo.png -J-XstartOnFirstThread -e "sleep 3;puts 'Hello world'"does not display the splash using Java 7 or Java 8 on OS X. It does work using Java 6.
I would expect this to work using Java 7 and Java 8 as well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels