[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-distro-pkg-dev
Subject: Re: configure: error: "A rhino jar was not found in /usr/share/java as either rhino.jar or js.jar."
From: Eric Hameleers <alien () slackware ! com>
Date: 2016-04-28 14:29:24
Message-ID: alpine.LNX.2.02.1604280612470.23899 () connie ! slackware ! com
[Download RAW message or body]
On Thu, 28 Apr 2016, YuGiOhJCJ Mailing-List wrote:
> Hello,
>
> I have problem building IcedTea 2.6.4 on Slackware 14.1 with the gcj 5.3.0 and ecj 4.9:
...
> checking whether to include Javascript support via Rhino... not found
> configure: error: "A rhino jar was not found in /usr/share/java as either rhino.jar or js.jar."
The first question that comes to mind is: did you actually install a
rhino jar file prior to compiling openjdk with icedtea?
You are also 2 security releases behind with icedtea.
> It seems that some packages/classes are missing in my JDK.
>
> Any idea why?
>
> Thank you.
> Best regards.
>
> That's how I built gcj 5.3.0:
> $ ../configure --prefix=/usr --enable-languages=c,c++,java --enable-java-home
> $ make
>
> That's how I built ecj 4.9:
> $ gcj -o ecj ../ecj.jar --main=org.eclipse.jdt.internal.compiler.batch.Main
I have tried running "BOOTSTRAP=YES ./openjdk7.SlackBuild" i.e.
bootstrapping openjdk7 using gcj and using the sources from this
location: http://www.slackware.com/~alien/slackbuilds/openjdk7/ and
after having installed apache-ant and rhino.
This is on Slackware 14.2 RC2 which already comes equipped with the
full GCC 5.3.0 compiler suite.
This resulted in an error-free compilation and a Slackware package for
openjdk7 7u101_b00.
So yes, probably you ave an incomplete GCC 5.3.0 suite and/or missing
rhino jar file.
Cheers, Eric
--
Eric Hameleers <alien@slackware.com>
Home: http://alien.slackbook.org/blog/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic