[ 
https://issues.apache.org/jira/browse/CXF-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-5282.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.12

> 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.7.12, 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 was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to