Hi Pete, It's a jdk/maven setup problem I think. Can you try, these commands (without the $):
$ echo %JAVA_HOME% => should give something like C:\... and it should be a JDK, not a JRE $ java -version java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode) $ mvn --version Maven version: 2.0.9 Java version: 1.6.0_16 OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix" $ javac -version javac 1.6.0_16 See "Installation instructions" on the bottom of this page: http://maven.apache.org/download.html on how to make sure maven works properly :) With kind regards, Geoffrey De Smet Pete Carapetyan schreef: > It's a little bit under protest that I'm submitting this error, > because it kind of creeps me out that I have to compile all drools > projects from root just to get drools planner samples to compile in my > IDE, but Geoffrey asked - and I am highly appreciative of everything > he and the drools team is doing. > > it also doesn't appear that hudson has been building either, so not > sure why my input even matters.... > > Anyway here is the error I am getting trying to compile drools on my > box (java 1.6) > > [INFO] Copying 1 resource > [INFO] [compiler:compile] > [INFO] Compiling 237 source files to > C:\work\deleteDroolsSolverExperiment\jbossr > ules\drools-api\target\classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > Failure executing javac, but could not parse the error: > 'javac' is not recognized as an internal or external command, > operable program or batch file. > > > > Failure executing javac, but could not parse the error: > 'javac' is not recognized as an internal or external command, > operable program or batch file. > > I've been a lurker on drools for years and it's always been > challenging for me to be involved with because I never have more than > a couple hours at a time to work past the issues, then I'm all out of > time and never get a chance to really use it in a program. I'll be > there are a lot more people that fit this profile than not. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
