Community
Participate
Working Groups
Ifyou try and run a class that is in a package with a Japanese name you will get a ClassNotFoundException. STEPS 1) Create a JavaProject JapaneseTest 2) Create a package in that project with a Japanese name 3) Create a class JapaneseTest in the package with a main method like below /** * @version 1.0 * @author */ public class JapaneseTest { public static void main(String[] args) { System.out.println("Test"); } } 4) Run the class - you will get an error like java.lang.NoClassDefFoundError: ?????/JapaneseTest Exception in thread "main"
Need to investigate, see if this is still a problem with launch configs.
Cannot even a create .java file underneath a Japanese-named package for reasons outlined in #13463.
The problem still exists but it is nothing to do with the Laucher - it is a problem I can replicate with the JDK. Please note that the following steps have Japanese characters in them and they may not be readable in your Locale. STEPS 1) Download the 1.3.1 JDK from www.eclipse.org 2) Upzip it 3) Create a subsdirectory of the bin directory で 4) Compile the code below by entering javac で/Japan.java from the bin directory 5) It will compile. Now try and execute by typing java で.Japan 6) You will get a ClassDefNotFound ???/Japan.java printed to the console Here is the test class package で; public class Japan { public static void main(String[] args) { System.out.println("できひ"); } }
Here is the problem report link from Sun. http://developer.java.sun.com/developer/bugParade/bugs/4475696.html They claim to have it fixed in 1.4 of the Sun VM.
Just tried on the may 2002 jdk 1.4.1 from Sun and the problem still exists there.
Tod, since this isn't really a debugger problem, is there a better home for this bug report?
Moving to JDT-Core
This is a JDK bug, closing invalid.
*** Bug 32206 has been marked as a duplicate of this bug. ***