Hi,
I want to build a project with Java 5.0 so I include the following line in my project.properties file:
maven.compile.source=5.0
maven.compile.target=5.0
maven.test.source=5.0
maven.javadoc.source=5.0
but I get the following error:
javac: invalid target release: 5.0
Usage: javac <options> <source files>
Could anyone explain why I am getting this error I even tried
maven.compile.source=1.5
maven.compile.target=1.5
maven.test.source=1.5
maven.javadoc.source=1.5
But the error changes:
javac: invalid target release: 1.5
Usage: javac <options> <source files>
where possible options include:
Any help with building projects using maven 1.02 with java 5.0
Hi Clint,
Are you sure that the jdk you using is indeed a java 1.5 jdk? It may be different then the one on your path. I beleive maven uses the jdk pointed to by the JAVA_HOME environment variable.
Also what is the output of 'java -version'?
-Justin
Clint Lewis wrote:
Hi,
I want to build a project with Java 5.0 so I include the following line in my project.properties file:
maven.compile.source=5.0
maven.compile.target=5.0
maven.test.source=5.0
maven.javadoc.source=5.0
but I get the following error:
javac: invalid target release: 5.0
Usage: javac <options> <source files>
Could anyone explain why I am getting this error I even tried
maven.compile.source=1.5
maven.compile.target=1.5
maven.test.source=1.5
maven.javadoc.source=1.5
But the error changes:
javac: invalid target release: 1.5
Usage: javac <options> <source files>
where possible options include:
Any help with building projects using maven 1.02 with java 5.0
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Justin Deoliveira
jdeolive@anonymised.com
The Open Planning Project
http://topp.openplans.org
I sorted this one out.. I needed to set my JAVA_HOME to java 5.0 which was set to 1.4 so that is the reason it did not work...
Clint Lewis wrote:
Hi,
I want to build a project with Java 5.0 so I include the following line in my project.properties file:
maven.compile.source=5.0
maven.compile.target=5.0
maven.test.source=5.0
maven.javadoc.source=5.0
but I get the following error:
javac: invalid target release: 5.0
Usage: javac <options> <source files>
Could anyone explain why I am getting this error I even tried
maven.compile.source=1.5
maven.compile.target=1.5
maven.test.source=1.5
maven.javadoc.source=1.5
But the error changes:
javac: invalid target release: 1.5
Usage: javac <options> <source files>
where possible options include:
Any help with building projects using maven 1.02 with java 5.0
Yep that was my problem, just sent out a reply now to explain my fob...
Justin Deoliveira wrote:
Hi Clint,
Are you sure that the jdk you using is indeed a java 1.5 jdk? It may be different then the one on your path. I beleive maven uses the jdk pointed to by the JAVA_HOME environment variable.
Also what is the output of 'java -version'?
-Justin
Clint Lewis wrote:
Hi,
I want to build a project with Java 5.0 so I include the following line in my project.properties file:
maven.compile.source=5.0
maven.compile.target=5.0
maven.test.source=5.0
maven.javadoc.source=5.0
but I get the following error:
javac: invalid target release: 5.0
Usage: javac <options> <source files>
Could anyone explain why I am getting this error I even tried
maven.compile.source=1.5
maven.compile.target=1.5
maven.test.source=1.5
maven.javadoc.source=1.5
But the error changes:
javac: invalid target release: 1.5
Usage: javac <options> <source files>
where possible options include:
Any help with building projects using maven 1.02 with java 5.0
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel