[windows] Native launcher handles -J-cp and -J-classpath options incorrectly
----------------------------------------------------------------------------

                 Key: JRUBY-4377
                 URL: http://jira.codehaus.org/browse/JRUBY-4377
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
         Environment: Latest JRuby on Windows.
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov
             Fix For: JRuby 1.5


The following works on Linux:

{code}
jruby -J-classpath /opt/java6/lib/tools.jar -rjava -e "p  
com.sun.tools.attach.VirtualMachine"
Java::ComSunToolsAttach::VirtualMachine
{code}

But fails on Windows:

{code}
jruby -J-classpath D:/re/java6/lib/tools.jar -rjava -e "p  
com.sun.tools.attach.VirtualMachine"
Unrecognized option: -classpath
{code}

Will fix.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to