Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.3
-
None
-
None
-
jdk 1.6
ubuntu 8.04
Description
When I am using cxf tools to generate web service artifacts, if choosing to compile generated java beans, my system initially shown me a error msg like this:
"Syntax error, annotations are only available if source level is 5.0"
After studying for a while, found out it's caused by incorrect javac used for compilation.
Current cxf tooling Compiler.java assume to use the "javac" on the PATH variable, it doesn't honor JAVA_HOME setting when setted for excuting cxf tools.
I think it might be better to check to use "javac" in the JAVA_HOME path, then use the one in the PATH variable.
Make sense?
Attachments
Attachments
Issue Links
- relates to
-
GERONIMO-4481 GShell command jaxws/java2ws error: Syntax error, annotations are only available if source level is 5.0
- Closed