From: | pierce at hogranch(dot)com (John R Pierce) |
---|---|
To: | |
Subject: | [Pljava-dev] pljava on centos 6.5 64bit and postgres 9.? and java ? |
Date: | 2014-11-21 00:12:59 |
Message-ID: | 546E838B.80607@hogranch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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 <goals> -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
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2014-11-21 00:48:29 | [Pljava-dev] pljava on centos 6.5 64bit and postgres 9.? and java ? |
Previous Message | John R Pierce | 2014-11-20 23:25:53 | [Pljava-dev] pljava on centos 6.5 64bit and postgres 9.? and java ? |