Name: gm110360 Date: 03/15/2004
FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtine Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows XP
A DESCRIPTION OF THE PROBLEM :
Here is my source :
class BonneMatin???e {
public static void main(String[] arguments) {
System.out.println("Bonne matin???e");
}
}
It's well compiled with javac and well executed with java, when I launch the commands in a DOS Window.
But if a launch the JVM from the following BAT file (in the same directory than BonneMatin???e.java and BonneMatin???e.class):
java BonneMatin???e
PAUSE
The JVM throws the following Exception :
Exception in thread "main" java.lang.NoClassDefFoundError : BonneMatin<the graphical character whose ASCII code is 218>e
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) edit and compile the following source in the same directory "foo":
class BonneMatin???e {
public static void main(String[] arguments) {
System.out.println("Bonne matin???e");
}
}
2) edit in the directory "foo" the following BAT file called BonneMatin???e.bat :
java BonneMatin???e
pause
3) call the bat file in a DOS Window, from the "foo" directory
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I am expecting to see the message "Bonne matin???e" printed in the DOS Window
ACTUAL -
Exception in thread "main" java.lang.NoClassDefFoundError : BonneMatin<the graphical character whose ASCII code is 218>e
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread "main" java.lang.NoClassDefFoundError : BonneMatin<the graphical character whose ASCII code is 218>e
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Don't use characters with accents in the name of the main classe
(Incident Review ID: 243581)
======================================================================
###@###.### 2004-03-15
FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtine Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows XP
A DESCRIPTION OF THE PROBLEM :
Here is my source :
class BonneMatin???e {
public static void main(String[] arguments) {
System.out.println("Bonne matin???e");
}
}
It's well compiled with javac and well executed with java, when I launch the commands in a DOS Window.
But if a launch the JVM from the following BAT file (in the same directory than BonneMatin???e.java and BonneMatin???e.class):
java BonneMatin???e
PAUSE
The JVM throws the following Exception :
Exception in thread "main" java.lang.NoClassDefFoundError : BonneMatin<the graphical character whose ASCII code is 218>e
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) edit and compile the following source in the same directory "foo":
class BonneMatin???e {
public static void main(String[] arguments) {
System.out.println("Bonne matin???e");
}
}
2) edit in the directory "foo" the following BAT file called BonneMatin???e.bat :
java BonneMatin???e
pause
3) call the bat file in a DOS Window, from the "foo" directory
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I am expecting to see the message "Bonne matin???e" printed in the DOS Window
ACTUAL -
Exception in thread "main" java.lang.NoClassDefFoundError : BonneMatin<the graphical character whose ASCII code is 218>e
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread "main" java.lang.NoClassDefFoundError : BonneMatin<the graphical character whose ASCII code is 218>e
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Don't use characters with accents in the name of the main classe
(Incident Review ID: 243581)
======================================================================
###@###.### 2004-03-15
- relates to
-
JDK-4761384 REGRESSION: class names with extended chars not accepted
-
- Resolved
-
-
JDK-4642283 Cannot load classes which have Japanese (SJIS) encoded class names
-
- Closed
-