Using -J (to set a Java option) clobbers the CLASSPATH
------------------------------------------------------

                 Key: JRUBY-4265
                 URL: http://jira.codehaus.org/browse/JRUBY-4265
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
         Environment: Mac OS 10.5.7 with Java 1.5.0_19-137
            Reporter: David Agnew
            Assignee: Thomas E Enebo


jruby -e "p ENV['CLASSPATH'].split(/:/).length"
prints 10

jruby -J-Xmx1536m -e "p ENV['CLASSPATH'].split(/:/).length"
prints 0

Got a JDBC driver load error running a program that used to run fine in 1.3.1. 
The program begins with the line

#!/usr/bin/env jruby -J-Xmx1536m

Further investigation revealed the empty CLASSPATH.

-- 
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