Description
Consider the following message seen in the tool script files (e.g., wsdl2java):
:no_java_home
echo ERROR: Set JAVA_HOME to the path where the J2SE 5.0 (JDK5.0) is installed
goto end
First off, J2SE 5.0 is relative to JDK 1.5 (not JDK 5.0). Also, J2SE 5.0 is EOSL as of October 2009 (http://www.oracle.com/technetwork/java/eol-135779.html).
Anyway, I think the message is misleading since it's specifying JDK 1.5, makes one wonder, does the tool(s) work with JDK 1.6. We do know that they do, so the message is incomplete. I guess the message was created to imply that 1.4 is not supported, and this was probably done prior to JDK 1.6 being released.
My recommendation: I would change the message in all of the scripts to something like this:
:no_java_home
echo ERROR: Set JAVA_HOME to the path where J2SE 5.0 or later is installed
goto end
Also, it looks like the windows batch file equivalences do not show this message at all... consider adding it to all of the batch files as well.
Thanks!
Attachments
Issue Links
- is a clone of
-
CXF-3164 "echo ERROR: Set JAVA_HOME to the path where the J2SE 5.0 (JDK5.0) is installed" doesn't mention Java SE 6
- Closed