Gentoo Archives: gentoo-dev

From: Kevin Hayes <kjhaze@×××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] emerge php not finding java
Date: Fri, 10 May 2002 00:51:51
Message-Id: 20020510155256.32351ccf.kjhaze@yahoo.com
In Reply to: Re: [gentoo-dev] emerge php not finding java by Dustin Knie
1 On Thu, 9 May 2002 22:29:01 -0700 (PDT)
2 Dustin Knie <dustin@×××××.com> wrote:
3
4 > nope, nothing from JAVA_HOME, at least as non-root. looks like I missed
5 > some configuration when it got installed. Thanks for the help.
6 >
7
8 Yeah it doesnn't seem to get configured when you install java.
9 What I do is to copy
10
11 "/etc/env.d/java/20blackdown-jdk-1.3.1" to "/etc/env.d"
12
13 then when you reboot (or log in/out) it sets all the java env't.
14 You can see it using "env".
15
16 > > > emerge search blackdown returns:
17 > > >
18 > > > prophet root # emerge search blackdown
19 > > > [ Results for search key : blackdown ]
20 > > > [ Applications found : 2 ]
21 > > >
22 > > > * dev-java/blackdown-jdk
23 > > > Latest version Available: 1.3.1-r5
24 > > > Latest version Installed: 1.3.1-r5
25 > > > Homepage: http://www.blackdown.org
26 > > > Description:
27 > > > Blackdown Java Development Kit 1.3.1
28 > > >
29 > > > * dev-java/blackdown-jre
30 > > > Latest version Available: 1.3.1-r7
31 > > > Latest version Installed: 1.3.1-r7
32 > > > Homepage: http://www.blackdown.org
33 > > > Description:
34 > > > Blackdown Java Runtime Environment 1.3.1
35 > > >
36 > > > prophet root #
37 > > >
38 > > > So, I'm assuming java is installed and should work if I need it. However,
39 > > > when I was installing php and apache, php failed when it got to checking
40 > > > for java. export USE=-java allowed it to compile, but I would like java
41 > > > support as well, as I do plan on messing with java in the near future.
42 > > >
43 > >
44 > > What output do you get from "echo $JAVA_HOME" ?
45 > >
46 > > If there is no output then you should set JAVA_HOME, if you get
47 > > an output, then is it correct ?
48 > >
49
50 --
51 Kevin Hayes

Replies

Subject Author
Re: [gentoo-dev] emerge php not finding java Spider <spider@g.o>