Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.4.2
    • Fix Version/s: 0.5-RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      WinXP

      Description

      I follow the quickstart guide and create a test application, and when I try to run it with :

      grails run-app

      I have the following error :

      " [native2ascii] Converting 1 file from D:\grails\samples\test\grails-app\i18n to
      D:\grails\samples\test\web-app\WEB-INF\grails-app\i18n
      Error starting Sun's native2ascii: "

        Activity

        Hide
        Brian Popp added a comment -

        I had the same problem and corrected it by making my GRAILS_HOME variable point to a JDK as opposed to a JRE (Java Runtime) version of Java.

        Show
        Brian Popp added a comment - I had the same problem and corrected it by making my GRAILS_HOME variable point to a JDK as opposed to a JRE (Java Runtime) version of Java.
        Hide
        Catalin Mincu added a comment -

        You mean JAVA_HOME .

        And yes it works now.

        Thank you.

        Show
        Catalin Mincu added a comment - You mean JAVA_HOME . And yes it works now. Thank you.
        Hide
        Sergey Nebolsin added a comment -

        There is nothing to fix.

        Show
        Sergey Nebolsin added a comment - There is nothing to fix.
        Hide
        Steven Devijver added a comment -

        Why isn't this issue fixed? I'm experiencing the same problem on Ubuntu fiesty. What's the solution?

        Show
        Steven Devijver added a comment - Why isn't this issue fixed? I'm experiencing the same problem on Ubuntu fiesty. What's the solution?
        Hide
        Sergey Nebolsin added a comment -

        Solution is to make JAVA_HOME point to JDK, not JRE (there isn't native2ascii in JRE).

        Show
        Sergey Nebolsin added a comment - Solution is to make JAVA_HOME point to JDK, not JRE (there isn't native2ascii in JRE).
        Hide
        Barry MacMahon added a comment -

        I found this problem by having my JAVA_HOME pointing to a jrockit JDK. It's not a JRE it is the JDK. Is this a use of an unsupported sun class? This is a blocker for upgrading to 2.0 for me because sun's jdk is incompatible with OpenVZ which is what my production environment is. I also get much better build times from jrockit. Is there a workaround?

        Show
        Barry MacMahon added a comment - I found this problem by having my JAVA_HOME pointing to a jrockit JDK. It's not a JRE it is the JDK. Is this a use of an unsupported sun class? This is a blocker for upgrading to 2.0 for me because sun's jdk is incompatible with OpenVZ which is what my production environment is. I also get much better build times from jrockit. Is there a workaround?
        Hide
        Gregor B. Rosenauer added a comment -

        I had my JAVA_HOME set correctly to a JDK, but still got the same error.
        As a workaround, I had to disable the option grails.enable.native2ascii in my Groovy config (conf/Config.groovy).

        Show
        Gregor B. Rosenauer added a comment - I had my JAVA_HOME set correctly to a JDK, but still got the same error. As a workaround, I had to disable the option grails.enable.native2ascii in my Groovy config (conf/Config.groovy).
        Hide
        Gregor B. Rosenauer added a comment -

        PS: using Grails 1.3.7 on Windows 7SP1 x64, Eclipse 3.7.1 with Spring Tool Suite 2.8.1.201111221000-RELEASE

        Show
        Gregor B. Rosenauer added a comment - PS: using Grails 1.3.7 on Windows 7SP1 x64, Eclipse 3.7.1 with Spring Tool Suite 2.8.1.201111221000-RELEASE

          People

          • Assignee:
            Sergey Nebolsin
            Reporter:
            Catalin Mincu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development