Jruby does not install properly (Win7 64bit)
--------------------------------------------

                 Key: JRUBY-5901
                 URL: https://jira.codehaus.org/browse/JRUBY-5901
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.6.2
         Environment: Win7 Ultimate build 7600
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
            Reporter: Roman Gubanov


1. I downloaded and executed jruby_windows_x64_1_6_2.exe.
2. Installation completed successfully, i.e. no errors.
3. Opened command prompt and tried "jruby -v"
Expected: jruby version returned
Result: generic Java help / list of options returned. jgem returns same thing 
(see below). Restart did not help.

{code}
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\rams>echo %CLASSPATH%
C:\Java\jdk1.6.0_25\jre\lib

C:\Users\rams>echo %PATH%
C:\Perl\site\bin;C:\Perl\bin;C:\Program Files (x86)\PC Connectivity 
Solution\;C:\PROGRA~2\COMMON~1\Qualcomm\BTILDE~1\Hos
t\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Fil
es\TortoiseSVN\bin;c:\Program Files (x86)\Microsoft SQL 
Server\90\Tools\binn\;C:\Frama-C\bin\;c:\MinGW\bin\;C:\Program F
iles 
(x86)\doxygen\bin;c:\gnuarm\bin;c:\GNUARM;c:\GNUARM\arm-elf\bin;c:\GNUARM\lib\gcc\arm-elf\4.1.1;C:\Program
 Files (x
86)\Microsoft Visual Studio 8\VC\bin;C:\Program Files (x86)\Smart 
Projects\IsoBuster;C:\Program Files (x86)\Common Files
\SYSTEM\MSMAPI\1033;C:\Program Files (x86)\Common 
Files\Symbian\tools;C:\Program Files (x86)\Calibre2\;C:\Program Files
(x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Graphviz2.26.3\bin;C:\Program 
Files\jEdit;c:\jruby-1.6.2\bin;C:\Ruby187
\bin;C:\Progra~1\SSH Communications Security\SSH Secure 
Shell\;c:\blast\bin\;c:\MinGW\bin\;c:\cygwin\bin\;C:\Progra~2\sc
ala\bin;C:\Progra~2\apache-ant-1.8.2\bin;C:\Java\jdk1.6.0_25\bin;C:\Progra~2\android-sdk\platform-tools;C:\Progra~2\andr
oid-sdk\tools\;c:\jruby-1.6.2\bin;C:\Program Files (x86)\SSH Communications 
Security\SSH Secure Shell\;c:\blast\bin\;c:\
MinGW\bin\;c:\cygwin\bin\;C:\Program Files 
(x86)\scala\bin;C:\Progra~2\apache-ant-1.8.2\bin

C:\Users\rams>echo %JAVA_HOME%
c:\java\jdk1.6.0_25\

C:\Users\rams>echo %JRUBY_HOME%
C:\jruby-1.6.2

C:\Users\rams>java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

C:\Users\rams>jruby -v
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 <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  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[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image

C:\Users\rams>
{code}

--
This message is automatically generated by JIRA.
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