public inbox for [email protected]  
help / color / mirror / Atom feed
Subject: [Pljava-dev] pljava on centos 6.5 64bit and postgres 9.? and java ?
Date: Thu, 20 Nov 2014 16:12:59 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

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




view thread (15+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Subject: Re: [Pljava-dev] pljava on centos 6.5 64bit and postgres 9.? and java ?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox