Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 2.01 KB

tryjruby.markdown

File metadata and controls

48 lines (36 loc) · 2.01 KB
layout title
main
Try JRuby!

Try JRuby!

JRuby is very versatile when it comes to deploying, so there's a number of ways you can try it right now!

TryRuby.org

The interactive tutorial at Try Ruby runs atop a sandboxed, server-side instance of JRuby.

Note that this version may lag behind official releases, but it gives you a general feel for what interactive JRuby is like.

WebStart

JRuby's interactive console, like many Java apps, can be started as a WebStart application.

You can download the console as a WebStart JNLP file or launch it directly on some browser by clicking below:

<script src="https://www.java.com/js/deployJava.js"></script> <script> // using JavaScript to get location of JNLP file relative to HTML page var dir = location.href.substring(0, location.href.lastIndexOf('/')+1); var url = dir + "files/irb.jnlp"; deployJava.createWebStartLaunchButton(url, '1.6.0'); </script>

Java Applet

Some browsers also support embedding Java applets via the Java browser plugin. If you can launch the applet below, you'll have a fully-interactive JRuby instance to play with.

<script language="JavaScript"></script>