Community
Participate
Working Groups
Build Identifier: 20100917-0705 The eclipse IDE fails to run any class on windows 7 if the class is named in Arabic or if the path of te workspace contains Arabic words. Reproducible: Always Steps to Reproduce: 1. Set system locale and language to Arabic-Egypt. 2. Open Eclipse IDE. Choose Arabic name for the workspace folder. 2. Choose Window>>Preferences>>General>>Workspace. 3. Change the text file encoding to UTF-8. Click OK to save the changes. 4. In a new java project, create a new class in a package that contains Arabic words. Name the class in Arabic too. Make sure the class contains "main" method. 5. Add "hello world" code to the class. 6. Right click the class name in the package explorer and choose Run>>Java Application. 7. Observe what happens. Expected Result: Program runs without errors or warnings. Actual Result: An exception is thrown. "Exception occurred executing command line. Cannot run program "<JRE Path>\jre6\bin\javaw.exe" (in directory "<Workspace directory>>\workspace\new\<project name>"): CreateProcess error=267, The directory name is invalid." N.B. The running JRE version is "1.6.0_23" Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Created attachment 185217 [details] A sample project with Arabic package name and Arabic class name.
Looking at the error message this does not seem to be an Eclipse bug to me, rather a JRE/windows issue. Are you able to compile and run your code using the command line javac?
Sorry, I changed the Locale again and now it runs fine. Sorry for interruption.
Verified for 3.7 M5