Created
March 11, 2010 15:23
-
-
Save yokolet/329230 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jruby.embed.LocalContextScope; | |
import org.jruby.embed.ScriptingContainer; | |
public class HelloWorldInJapanese { | |
private HelloWorldInJapanese() { | |
ScriptingContainer container = new ScriptingContainer(LocalContextScope.SINGLETHREAD); | |
container.runScriptlet("puts \"こんにちは世界\""); | |
} | |
public static void main(String[] args) { | |
new HelloWorldInJapanese(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment