From: pierce at hogranch.com (John R Pierce) Date: Thu, 20 Nov 2014 16:12:59 -0800 Subject: [Pljava-dev] pljava on centos 6.5 64bit and postgres 9.? and java ? In-Reply-To: <546E7881.5050006@hogranch.com> References: <546D1072.1090803@hogranch.com> <546D29EB.101@2ndquadrant.com> <5DC2684C-C883-4393-BD8F-E1B7F3D0F912@me.com> <546E6F22.6060103@hogranch.com> <546E7881.5050006@hogranch.com> Message-ID: <546E838B.80607@hogranch.com> On 11/20/2014 3:25 PM, John R Pierce wrote: > make[1]: *** No rule to make target > `/home/me/git/pljava/src/java/pljava/Makefile'. Stop. ok, so I figured out I'm supposed to use Maven. Hmm, not in any 'sane' CentOS 6 repository, ugh, so I get apache-maven, put it in /opt, put that in my path, run `mvn --version` and it seems to be good, ok. so I go to the pljava root, and run `mvn clean install` (hey, I have no idea how to do this), and it downloads a bajillion things from http://repo.maven.apache.org (where is all that going?!? ahhh, ~/.m2/... yeesh), then... ...... [INFO] Compiling 18 source files to /home/me/git/pljava/pljava-api/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Failure executing javac, but could not parse the error: Fatal Error: Unable to find package java.lang in classpath or bootclasspath [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] PostgreSQL pl/java ................................ SUCCESS [0.001s] [INFO] PL/JAVA API ....................................... FAILURE [40.656s] [INFO] pl/java implementation ............................ SKIPPED [INFO] pl/java deploy .................................... SKIPPED [INFO] pl/java Ant Tasks ................................. SKIPPED [INFO] pl/java examples .................................. SKIPPED [INFO] pl/java server side library ....................... SKIPPED [INFO] pl/java packaging ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41.750s [INFO] Finished at: Thu Nov 20 23:58:25 PST 2014 [INFO] Final Memory: 9M/102M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project pljava-api: Compilation failure [ERROR] Failure executing javac, but could not parse the error: [ERROR] Fatal Error: Unable to find package java.lang in classpath or bootclasspath [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :pljava-api well, I can't find any file called java.lang in either my JVM or this project directory. I'm treading in deep waters here, lost in the dark. -- john r pierce 37N 122W somewhere on the middle of the left coast