[ 
https://issues.apache.org/jira/browse/CXF-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768386#comment-13768386
 ] 

Rostislav Svoboda commented on CXF-5282:
----------------------------------------

The bug CXF-3164 is not fixed. The 2.7.6 still complains about J2SE 5.0 
(JDK5.0) instead of saying: "JAVA_HOME not set. J2SE (JDK) must be at least 
1.5".
                
> CLONE - "echo ERROR: Set JAVA_HOME to the path where the J2SE 5.0 (JDK5.0) is 
> installed" doesn't mention Java SE 6
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-5282
>                 URL: https://issues.apache.org/jira/browse/CXF-5282
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Rostislav Svoboda
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.3.2
>
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to