Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      64bit windows
    • Number of attachments :
      0

      Description

      Groovy installer does not work with the 64bit version of Java

        Activity

        Hide
        Guillaume Laforge added a comment -

        Is it the Windows Installer which doesn't work or Groovy itself?
        Your issue is not very clear.

        Show
        Guillaume Laforge added a comment - Is it the Windows Installer which doesn't work or Groovy itself? Your issue is not very clear.
        Hide
        Joshua Foster added a comment -

        The problem is when groovy is run. Windows can install and run 32bit software.

        Show
        Joshua Foster added a comment - The problem is when groovy is run. Windows can install and run 32bit software.
        Hide
        Paul King added a comment -

        What steps did you use to illustrate/recreate the problem?

        Show
        Paul King added a comment - What steps did you use to illustrate/recreate the problem?
        Hide
        Joshua Foster added a comment -

        Steps to reproduce

        Set the Java_home to the 64bit version of the jdk:
        C:\>set Java_home=C:\Program Files\Java\jdk1.6.0_12

        Run groovysh
        C:\>groovysh
        error: dynamic library C:\Program Files\Java\jdk1.6.0_12\jre\bin\server\jvm.dll exists but could not be loaded!
        error (win code 193): (null)
        error: could not find client or server jvm under C:\Program Files\Java\jdk1.6.0_12
        please check that it is a valid jdk / jre containing the desired type of
        jvm

        It works using the 32bit version:
        C:\Program Files (x86)\Bazaar>cd \

        C:\>echo %java_home%
        C:\Program Files (x86)\Java\jdk1.6.0_12

        C:\>groovysh
        Groovy Shell (1.6.0, JVM: 1.6.0_12)
        Type 'help' or '\h' for help.
        ---------------------------------------------------------------
        groovy:000> exit

        Show
        Joshua Foster added a comment - Steps to reproduce Set the Java_home to the 64bit version of the jdk: C:\>set Java_home=C:\Program Files\Java\jdk1.6.0_12 Run groovysh C:\>groovysh error: dynamic library C:\Program Files\Java\jdk1.6.0_12\jre\bin\server\jvm.dll exists but could not be loaded! error (win code 193): (null) error: could not find client or server jvm under C:\Program Files\Java\jdk1.6.0_12 please check that it is a valid jdk / jre containing the desired type of jvm It works using the 32bit version: C:\Program Files (x86)\Bazaar>cd \ C:\>echo %java_home% C:\Program Files (x86)\Java\jdk1.6.0_12 C:\>groovysh Groovy Shell (1.6.0, JVM: 1.6.0_12) Type 'help' or '\h' for help. --------------------------------------------------------------- groovy:000> exit
        Hide
        Joachim Baumann added a comment -

        The Windows installer now copies the correct 64-bit files when it detects a 64-bit Windows and a 64-bit Java installation.

        Show
        Joachim Baumann added a comment - The Windows installer now copies the correct 64-bit files when it detects a 64-bit Windows and a 64-bit Java installation.

          People

          • Assignee:
            Joachim Baumann
            Reporter:
            Joshua Foster
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: