Gentoo Archives: gentoo-dev

From: Spider <spider@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] emerge php not finding java
Date: Fri, 10 May 2002 04:40:44
Message-Id: 20020510113805.25df18b4.spider@gentoo.org
In Reply to: Re: [gentoo-dev] emerge php not finding java by Kevin Hayes
1 java-config is your friend....
2
3 //Spider
4
5 begin quote
6 On Fri, 10 May 2002 15:52:56 +1000
7 Kevin Hayes <kjhaze@×××××.com> wrote:
8
9 > On Thu, 9 May 2002 22:29:01 -0700 (PDT)
10 > Dustin Knie <dustin@×××××.com> wrote:
11 >
12 > > nope, nothing from JAVA_HOME, at least as non-root. looks like I
13 > > missed some configuration when it got installed. Thanks for the
14 > > help.
15 > >
16 >
17 > Yeah it doesnn't seem to get configured when you install java.
18 > What I do is to copy
19 >
20 > "/etc/env.d/java/20blackdown-jdk-1.3.1" to "/etc/env.d"
21 >
22 > then when you reboot (or log in/out) it sets all the java env't.
23 > You can see it using "env".
24 >
25 > > > > emerge search blackdown returns:
26 > > > >
27 > > > > prophet root # emerge search blackdown
28 > > > > [ Results for search key : blackdown ]
29 > > > > [ Applications found : 2 ]
30 > > > >
31 > > > > * dev-java/blackdown-jdk
32 > > > > Latest version Available: 1.3.1-r5
33 > > > > Latest version Installed: 1.3.1-r5
34 > > > > Homepage: http://www.blackdown.org
35 > > > > Description:
36 > > > > Blackdown Java Development Kit 1.3.1
37 > > > >
38 > > > > * dev-java/blackdown-jre
39 > > > > Latest version Available: 1.3.1-r7
40 > > > > Latest version Installed: 1.3.1-r7
41 > > > > Homepage: http://www.blackdown.org
42 > > > > Description:
43 > > > > Blackdown Java Runtime Environment 1.3.1
44 > > > >
45 > > > > prophet root #
46 > > > >
47 > > > > So, I'm assuming java is installed and should work if I need it.
48 > > > > However, when I was installing php and apache, php failed when
49 > > > > it got to checking for java. export USE=-java allowed it to
50 > > > > compile, but I would like java support as well, as I do plan on
51 > > > > messing with java in the near future.
52 > > > >
53 > > >
54 > > > What output do you get from "echo $JAVA_HOME" ?
55 > > >
56 > > > If there is no output then you should set JAVA_HOME, if you get
57 > > > an output, then is it correct ?
58 > > >
59 >
60 > --
61 > Kevin Hayes
62 >
63 >
64 > _______________________________________________
65 > gentoo-dev mailing list
66 > gentoo-dev@g.o
67 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
68
69
70 --
71 begin .signature
72 This is a .signature virus! Please copy me into your .signature!
73 See Microsoft KB Article Q265230 for more information.
74 end