public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] emerge php not finding java
@ 2002-05-10  4:09 Dustin Knie
  2002-05-10  4:50 ` Ryan Phillips
  2002-05-10  5:21 ` Kevin Hayes
  0 siblings, 2 replies; 7+ messages in thread
From: Dustin Knie @ 2002-05-10  4:09 UTC (permalink / raw
  To: gentoo-dev

emerge search blackdown returns:

prophet root # emerge search blackdown
[ Results for search key : blackdown ]
[ Applications found : 2 ]

*  dev-java/blackdown-jdk
      Latest version Available: 1.3.1-r5
      Latest version Installed: 1.3.1-r5
      Homepage: http://www.blackdown.org
      Description:
      Blackdown Java Development Kit 1.3.1

*  dev-java/blackdown-jre
      Latest version Available: 1.3.1-r7
      Latest version Installed: 1.3.1-r7
      Homepage: http://www.blackdown.org
      Description:
      Blackdown Java Runtime Environment 1.3.1

prophet root #

So, I'm assuming java is installed and should work if I need it. However,
when I was installing php and apache, php failed when it got to checking
for java.  export USE=-java allowed it to compile, but I would like java
support as well, as I do plan on messing with java in the near future.

Thanks

Dustin

|||||||||||
Dustin Knie
Customer Service for Lycoris
Freelance Developer

-----------------------------------------------------------------
|  "So long as the state exists there is no freedom. When there |
|   is freedom, there will be no state"				|
|      --Vladimir Lenin						|



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] emerge php not finding java
  2002-05-10  4:09 [gentoo-dev] emerge php not finding java Dustin Knie
@ 2002-05-10  4:50 ` Ryan Phillips
  2002-05-10  5:26   ` Dustin Knie
  2002-05-10  5:21 ` Kevin Hayes
  1 sibling, 1 reply; 7+ messages in thread
From: Ryan Phillips @ 2002-05-10  4:50 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

> 
> So, I'm assuming java is installed and should work if I need it. However,
> when I was installing php and apache, php failed when it got to checking
> for java.  export USE=-java allowed it to compile, but I would like java
> support as well, as I do plan on messing with java in the near future.
> 
> Thanks
> 
> Dustin
> 

Can you run `java` from the commandline.. If not you need to run
java-config, and:
	1. Either logout and in again
	2. or source /etc/profile

-ryan

[-- Attachment #2: Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] emerge php not finding java
  2002-05-10  4:09 [gentoo-dev] emerge php not finding java Dustin Knie
  2002-05-10  4:50 ` Ryan Phillips
@ 2002-05-10  5:21 ` Kevin Hayes
  2002-05-10  5:29   ` Dustin Knie
  1 sibling, 1 reply; 7+ messages in thread
From: Kevin Hayes @ 2002-05-10  5:21 UTC (permalink / raw
  To: gentoo-dev

On Thu, 9 May 2002 21:09:51 -0700 (PDT)
Dustin Knie <dustin@attbi.com> wrote:

> emerge search blackdown returns:
> 
> prophet root # emerge search blackdown
> [ Results for search key : blackdown ]
> [ Applications found : 2 ]
> 
> *  dev-java/blackdown-jdk
>       Latest version Available: 1.3.1-r5
>       Latest version Installed: 1.3.1-r5
>       Homepage: http://www.blackdown.org
>       Description:
>       Blackdown Java Development Kit 1.3.1
> 
> *  dev-java/blackdown-jre
>       Latest version Available: 1.3.1-r7
>       Latest version Installed: 1.3.1-r7
>       Homepage: http://www.blackdown.org
>       Description:
>       Blackdown Java Runtime Environment 1.3.1
> 
> prophet root #
> 
> So, I'm assuming java is installed and should work if I need it. However,
> when I was installing php and apache, php failed when it got to checking
> for java.  export USE=-java allowed it to compile, but I would like java
> support as well, as I do plan on messing with java in the near future.
> 

What output do you get from "echo $JAVA_HOME" ?

If there is no output then you should set JAVA_HOME, if you get
an output, then is it correct ?

-- 
Kevin Hayes




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] emerge php not finding java
  2002-05-10  4:50 ` Ryan Phillips
@ 2002-05-10  5:26   ` Dustin Knie
  0 siblings, 0 replies; 7+ messages in thread
From: Dustin Knie @ 2002-05-10  5:26 UTC (permalink / raw
  To: gentoo-dev

ahh, there we are, it wasn't in the path, and wasnt being ran.  Thx

Dustin

|||||||||||
Dustin Knie
Customer Service for Lycoris
Freelance Developer

-----------------------------------------------------------------
|  "So long as the state exists there is no freedom. When there |
|   is freedom, there will be no state"				|
|      --Vladimir Lenin						|

On Thu, 9 May 2002, Ryan Phillips wrote:

> >
> > So, I'm assuming java is installed and should work if I need it. However,
> > when I was installing php and apache, php failed when it got to checking
> > for java.  export USE=-java allowed it to compile, but I would like java
> > support as well, as I do plan on messing with java in the near future.
> >
> > Thanks
> >
> > Dustin
> >
>
> Can you run `java` from the commandline.. If not you need to run
> java-config, and:
> 	1. Either logout and in again
> 	2. or source /etc/profile
>
> -ryan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] emerge php not finding java
  2002-05-10  5:21 ` Kevin Hayes
@ 2002-05-10  5:29   ` Dustin Knie
  2002-05-10  5:52     ` Kevin Hayes
  0 siblings, 1 reply; 7+ messages in thread
From: Dustin Knie @ 2002-05-10  5:29 UTC (permalink / raw
  To: gentoo-dev

nope, nothing from JAVA_HOME, at least as non-root.  looks like I missed
some configuration when it got installed.  Thanks for the help.

Dustin

|||||||||||
Dustin Knie
Customer Service for Lycoris
Freelance Developer

-----------------------------------------------------------------
|  "So long as the state exists there is no freedom. When there |
|   is freedom, there will be no state"				|
|      --Vladimir Lenin						|

On Fri, 10 May 2002, Kevin Hayes wrote:

> On Thu, 9 May 2002 21:09:51 -0700 (PDT)
> Dustin Knie <dustin@attbi.com> wrote:
>
> > emerge search blackdown returns:
> >
> > prophet root # emerge search blackdown
> > [ Results for search key : blackdown ]
> > [ Applications found : 2 ]
> >
> > *  dev-java/blackdown-jdk
> >       Latest version Available: 1.3.1-r5
> >       Latest version Installed: 1.3.1-r5
> >       Homepage: http://www.blackdown.org
> >       Description:
> >       Blackdown Java Development Kit 1.3.1
> >
> > *  dev-java/blackdown-jre
> >       Latest version Available: 1.3.1-r7
> >       Latest version Installed: 1.3.1-r7
> >       Homepage: http://www.blackdown.org
> >       Description:
> >       Blackdown Java Runtime Environment 1.3.1
> >
> > prophet root #
> >
> > So, I'm assuming java is installed and should work if I need it. However,
> > when I was installing php and apache, php failed when it got to checking
> > for java.  export USE=-java allowed it to compile, but I would like java
> > support as well, as I do plan on messing with java in the near future.
> >
>
> What output do you get from "echo $JAVA_HOME" ?
>
> If there is no output then you should set JAVA_HOME, if you get
> an output, then is it correct ?
>
> --
> Kevin Hayes
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] emerge php not finding java
  2002-05-10  5:29   ` Dustin Knie
@ 2002-05-10  5:52     ` Kevin Hayes
  2002-05-10  9:38       ` Spider
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Hayes @ 2002-05-10  5:52 UTC (permalink / raw
  To: gentoo-dev

On Thu, 9 May 2002 22:29:01 -0700 (PDT)
Dustin Knie <dustin@attbi.com> wrote:

> nope, nothing from JAVA_HOME, at least as non-root.  looks like I missed
> some configuration when it got installed.  Thanks for the help.
> 

Yeah it doesnn't seem to get configured when you install java.
What I do is to copy 

"/etc/env.d/java/20blackdown-jdk-1.3.1" to "/etc/env.d"

then when you reboot (or log in/out) it sets all the java env't.
You can see it using "env".

> > > emerge search blackdown returns:
> > >
> > > prophet root # emerge search blackdown
> > > [ Results for search key : blackdown ]
> > > [ Applications found : 2 ]
> > >
> > > *  dev-java/blackdown-jdk
> > >       Latest version Available: 1.3.1-r5
> > >       Latest version Installed: 1.3.1-r5
> > >       Homepage: http://www.blackdown.org
> > >       Description:
> > >       Blackdown Java Development Kit 1.3.1
> > >
> > > *  dev-java/blackdown-jre
> > >       Latest version Available: 1.3.1-r7
> > >       Latest version Installed: 1.3.1-r7
> > >       Homepage: http://www.blackdown.org
> > >       Description:
> > >       Blackdown Java Runtime Environment 1.3.1
> > >
> > > prophet root #
> > >
> > > So, I'm assuming java is installed and should work if I need it. However,
> > > when I was installing php and apache, php failed when it got to checking
> > > for java.  export USE=-java allowed it to compile, but I would like java
> > > support as well, as I do plan on messing with java in the near future.
> > >
> >
> > What output do you get from "echo $JAVA_HOME" ?
> >
> > If there is no output then you should set JAVA_HOME, if you get
> > an output, then is it correct ?
> >

-- 
Kevin Hayes




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] emerge php not finding java
  2002-05-10  5:52     ` Kevin Hayes
@ 2002-05-10  9:38       ` Spider
  0 siblings, 0 replies; 7+ messages in thread
From: Spider @ 2002-05-10  9:38 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2228 bytes --]

java-config is your friend....

//Spider

begin  quote
On Fri, 10 May 2002 15:52:56 +1000
Kevin Hayes <kjhaze@yahoo.com> wrote:

> On Thu, 9 May 2002 22:29:01 -0700 (PDT)
> Dustin Knie <dustin@attbi.com> wrote:
> 
> > nope, nothing from JAVA_HOME, at least as non-root.  looks like I
> > missed some configuration when it got installed.  Thanks for the
> > help.
> > 
> 
> Yeah it doesnn't seem to get configured when you install java.
> What I do is to copy 
> 
> "/etc/env.d/java/20blackdown-jdk-1.3.1" to "/etc/env.d"
> 
> then when you reboot (or log in/out) it sets all the java env't.
> You can see it using "env".
> 
> > > > emerge search blackdown returns:
> > > >
> > > > prophet root # emerge search blackdown
> > > > [ Results for search key : blackdown ]
> > > > [ Applications found : 2 ]
> > > >
> > > > *  dev-java/blackdown-jdk
> > > >       Latest version Available: 1.3.1-r5
> > > >       Latest version Installed: 1.3.1-r5
> > > >       Homepage: http://www.blackdown.org
> > > >       Description:
> > > >       Blackdown Java Development Kit 1.3.1
> > > >
> > > > *  dev-java/blackdown-jre
> > > >       Latest version Available: 1.3.1-r7
> > > >       Latest version Installed: 1.3.1-r7
> > > >       Homepage: http://www.blackdown.org
> > > >       Description:
> > > >       Blackdown Java Runtime Environment 1.3.1
> > > >
> > > > prophet root #
> > > >
> > > > So, I'm assuming java is installed and should work if I need it.
> > > > However, when I was installing php and apache, php failed when
> > > > it got to checking for java.  export USE=-java allowed it to
> > > > compile, but I would like java support as well, as I do plan on
> > > > messing with java in the near future.
> > > >
> > >
> > > What output do you get from "echo $JAVA_HOME" ?
> > >
> > > If there is no output then you should set JAVA_HOME, if you get
> > > an output, then is it correct ?
> > >
> 
> -- 
> Kevin Hayes
> 
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev


--
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-05-10  9:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10  4:09 [gentoo-dev] emerge php not finding java Dustin Knie
2002-05-10  4:50 ` Ryan Phillips
2002-05-10  5:26   ` Dustin Knie
2002-05-10  5:21 ` Kevin Hayes
2002-05-10  5:29   ` Dustin Knie
2002-05-10  5:52     ` Kevin Hayes
2002-05-10  9:38       ` Spider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox