使用native2ascii.exe进行编译ApplicationResources_ZH.properties

解决方案 »

  1.   

    native2ascii -encoding gb2312 c:\resources\ApplicationResources_ZH_old.properties(需要转换的文件) c:\resources\ApplicationResources_ZH.properties(生成的文件)
      

  2.   

    Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
    has value '1.4', but '1.3' is required.
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    出现了这种错误,是怎么回事?
      

  3.   

    你的jdk运行环境和java_home可能有些冲突,找到你的java_home,如C:\jdk1.3.1
    运行C:\jdk1.3.1\bin\native2ascii yourOldFileName yourNewFileName