You must be able to successfully run "javac" from your command line before attempting to execute "mvn". Make sure JAVA_HOME is set and that it is in your PATH. Symlinks should not matter.
Wayne On 3/15/08, BWS <[EMAIL PROTECTED]> wrote: > hello, > > I'm going through a cocoon tutorial but this is a maven question. > http://cocoon.apache.org/2.2/1159_1_1.html > > jdk1.6 and Maven 2 / fedora8 > > I've read through a ton of issues with this error. > "Failure executing javac, but could not parse the error:" > when using jdk 1.4 and switching to 1.5 but nothing about > my situation. > > I'm trying to compile a cocoon app. I'm in "myBlock1" and run: > mvn jetty:run > or > mvn compile > > it can't find javac because it looks like it's looking in ... > /usr/lib/jvm/java which points to a simlink-> /etc/alternatives/java_sdk > > I had to use this to configure java on this os. > SO MY QUESTION IS :: > > Where in the POM.XML can I include a path to "/usr/java/jdk1.6.0_02" > /etc/alternatives/java_sdk is pointing there but that's the only thing I > can think of that is screwing this up so I can compile it. > > > thanx:) > if this should be on the cocoon list I'm sorry I posted it here. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]