Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 225297

Summary: Bidi3.4: Unable to Run Java Applications that resides inside Arabic named Java projects
Product: [Eclipse Project] JDT Reporter: Ahmed Farrag <afarrag>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: camle, daniel_megert, darin.eclipse, Mike_Wilson, pwebster, Tod_Creasey
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
screen shot none

Description Ahmed Farrag CLA 2008-04-02 06:37:39 EDT
Build ID: I20080401-1005

Steps To Reproduce:
1. Create new Arabic named java project
2. Create new Java class
3. Run the new Java class


More information:
Expected Results:
Java application should run successfully

Actual Results:
The application execution is terminated stating that java project can't be found.

Exact Error message:
/Users/afarrag/Desktop/IES Stuff/WorkSpaces/JDT_01/test_????: No such file or directory

Notes:
>> This problem only occurs on MAC OS X 10.5 with default Arabic Egypt locale.
>> The workspace encoding and console encoding are both set to UTF-8
>> The arabic name of Java project is displayed as "???" which seems to be odd because I can print arabic data to console without problems (using "println" command)
Comment 1 Jerome Lanneluc CLA 2008-04-02 06:52:04 EDT
Moving to JDT/Debug
Comment 2 Tod Creasey CLA 2008-04-02 07:39:58 EDT
Which virtual machine are you using? Many do not support BIDI
Comment 3 Ahmed Farrag CLA 2008-04-02 07:54:39 EDT
JVM in use is Sun JDK V1.5
Comment 4 Mike Wilson CLA 2008-04-30 14:51:27 EDT
Debug team: Has anyone looked at what's going on here?
Comment 5 Darin Wright CLA 2008-05-02 10:19:43 EDT
Investigate during RC1
Comment 6 Dani Megert CLA 2008-05-14 09:13:22 EDT
Did you set the encoding as system property and to the console, e.g.
1. go to the launch configuration of the program you launch
2. switch to the 'Arguments' tab
3. add -Dfile.encoding=UTF-8 into the VM arguments field
4. switch to 'Common' tab
5. set console encoding to UTF-8
If not, try these steps.

Also, please check whether this works using a 1.4 VM.

Is there anything in the .log?
Comment 7 Darin Wright CLA 2008-05-14 14:05:34 EDT
Created attachment 100256 [details]
screen shot

This works for me. See screen shot of Java project with Arabic name.
Comment 8 Darin Wright CLA 2008-05-14 14:06:30 EDT
I am using I20080513-2000 and the Mac 1.5 VM (Leopard / 10.5)
Comment 9 Ahmed Farrag CLA 2008-05-21 06:54:27 EDT
Verified
Comment 10 Ahmed Farrag CLA 2008-05-21 06:54:41 EDT
Closing
Comment 11 Darin Wright CLA 2008-06-03 09:03:09 EDT
Re-open to mark as works for me.
Comment 12 Darin Wright CLA 2008-06-03 09:03:34 EDT
works for me
Comment 13 Darin Wright CLA 2008-06-03 09:03:45 EDT
Closed