Hi I'm using the jdk 1.6 I think there's something wrong with my dev environment. when I start maven, it looks for the javac on /usr/bin instead of my jdk installation. even if I copy / link / rename the javac in /usr/bin there's no way to get it working. by using the correct javac under my JDK installation path, I obtain this:
RROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure Failure executing javac, but could not parse the error: Could not create the Java virtual machine. Failure executing javac, but could not parse the error: Could not create the Java virtual machine. For now I'll play with the php version.. but I would like to be able to setup the J version too (especially to try Caja..) if you (or someone) have an idea about my error I would appreciate. I have other questions about Shindig but I'll send in a dedicated mail. thanks to all leonardo On Thu, Jun 19, 2008 at 6:50 PM, Brad Defnall <[EMAIL PROTECTED]> wrote: > What java are you using? > > On Thu, Jun 19, 2008 at 11:24 AM, Leonardo <[EMAIL PROTECTED]> wrote: > >> Hi all, >> I'm new to this ML and to the Shindig world. >> I've been able to install the php version, >> but if I try to compile the Java version I get this error: >> >> Embedded error: Unknown error trying to execute the external compiler: >> javac @/tmp/org.codehaus.plexus.compiler.javac.JavacCompiler18202arguments >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error >> compiling >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error >> compiling >> at >> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:498) >> at >> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) >> ... 16 more >> Caused by: org.codehaus.plexus.compiler.CompilerException: Unknown >> error trying to execute the external compiler: >> javac @/tmp/org.codehaus.plexus.compiler.javac.JavacCompiler18202arguments >> at >> org.codehaus.plexus.compiler.javac.JavacCompiler.compileOutOfProcess(JavacCompiler.java:354) >> at >> org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:137) >> at >> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:493) >> ... 19 more >> >> >> I tried to search but found nothing. >> Any suggest on how to solve? >> >> many thanks, >> leo >> >

