United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6510337 javaw launcher should also support class-path wildcards
JDK-6510337 : javaw launcher should also support class-path wildcards

Details
Type:
Bug
Submit Date:
2007-01-05
Status:
Closed
Updated Date:
2011-07-15
Project Name:
JDK
Resolved Date:
2011-07-15
Component:
tools
OS:
windows_xp,windows_2000
Sub-Component:
launcher
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Duplicate:
Relates:

Sub Tasks

Description
The Windows specific java launcher 'javaw' does not have class path expansion enabled. This is a bug since it should work according to the J2SE 6 docs at http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html. This problem has also been reported at http://forum.java.sun.com/thread.jspa?threadID=5118123. The fix is to copy the expression "OTHER_CPPFLAGS += -DEXPAND_CLASSPATH_WILDCARDS" from j2se/make/java/main/java/Makefile to j2se/make/java/main/javaw/Makefile.

                                    

Comments
EVALUATION

I agree that java and javaw should treat wildcards consistently.
The proposed fix looks right.
                                     
2007-01-05
WORK AROUND

Use the java.exe instead of the javaw.exe launcher in JDK/JRE 6 on Windows.
                                     
2007-01-05



Hardware and Software, Engineered to Work Together