Note that there are some explanatory texts on larger screens.

plurals
  1. POA call to JRuby brings up java options menu
    text
    copied!<p>When I run jruby.exe on the command line or any of the other ruby executables such as <code>rake</code>, <code>bundle</code> etc., it prints the java help message (as below) as if I have simply executed <code>java</code> on the command line. </p> <p>I dont know how this started to happen. As everything seemed to be operating fine on Friday. I have checked my <code>PATH</code> variable, <code>JRUBY_OPTS</code> variable and everything is setup correctly. Please if anyone understands why this is occurring and how I can rememedy this it would be greatly appreciated. I have been at it for hours with no success.</p> <p>Example:</p> <pre><code>cmd&gt; rake Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -server to select the "server" VM -hotspot is a synonym for the "server" VM [deprecated] The default VM is server. -cp &lt;class search path of directories and zip/jar files&gt; -classpath &lt;class search path of directories and zip/jar files&gt; A ; separated list of directories, JAR archives, and ZIP archives to search for class files. -D&lt;name&gt;=&lt;value&gt; set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -version:&lt;value&gt; require the specified version to run -showversion print product version and continue -jre-restrict-search | -jre-no-restrict-search include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:&lt;packagename&gt;...|:&lt;classname&gt;] -enableassertions[:&lt;packagename&gt;...|:&lt;classname&gt;] enable assertions -da[:&lt;packagename&gt;...|:&lt;classname&gt;] -disableassertions[:&lt;packagename&gt;...|:&lt;classname&gt;] disable assertions -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:&lt;libname&gt;[=&lt;options&gt;] load native agent library &lt;libname&gt;, e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help -agentpath:&lt;pathname&gt;[=&lt;options&gt;] load native agent library by full pathname -javaagent:&lt;jarpath&gt;[=&lt;options&gt;] load Java programming language agent, see java.lang.instrument -splash:&lt;imagepath&gt; show splash screen with specified image </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload