[gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
To answer several questions from several people:
1) I thought java 1.5 wasn't there because it was not found by
emerge -s java
emerge -s jre
emerge -s blackdown

At that point I just figured it wasn't there.  I'm glad to discover
I was wrong.

2) I'm not so much itching to use the features, as I am required
to teach them.  But the significant ones seem to be
- Scanner class which smooths one of the major bumps for
  beginning Java programmers: how to do input without learning
  the whole language first.
- Autoboxing which allows a looser typing of functionally similar
  entities (the primitives and their wrapper classes).
- Generics (type-safe containers) (not really an intro topic, but
  I'll be teaching a second course too).
- True enum
- C-style printf, and varargs (ya!)

++ kevin
- Iterator for-loop 

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
Bottom line: I still cannot get these.  Details at the bottom.

On 6/13/05, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:
> To answer several questions from several people:
> 1) I thought java 1.5 wasn't there because it was not found by
> emerge -s java
> emerge -s jre
> emerge -s blackdown
> 
> At that point I just figured it wasn't there.  I'm glad to discover
> I was wrong.
> 
> 2) I'm not so much itching to use the features, as I am required
> to teach them.  But the significant ones seem to be
> - Scanner class which smooths one of the major bumps for
>   beginning Java programmers: how to do input without learning
>   the whole language first.
> - Autoboxing which allows a looser typing of functionally similar
>   entities (the primitives and their wrapper classes).
> - Generics (type-safe containers) (not really an intro topic, but
>   I'll be teaching a second course too).
> - True enum
> - C-style printf, and varargs (ya!)
> 
> ++ kevin
> - Iterator for-loop

What's more, I just retried looking for the jdk, and got (in part):
*  dev-java/sun-jdk
  Latest version available: 1.4.2.08
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 35,576 kB
  Homepage:http://java.sun.com/j2se/1.4.2/
  Description: Sun's J2SE Development Kit
  License: sun-bcla-java-vm

This surely doesn't look like 1.5 to me.  So I tried 'etcat' (which is
new to me)
and got it.  I had to unmask it before emerge -s would show it.  Weird,
because it shows other masked packages.

Anyway, I still cannot load it.   This in spite of efforts to unmask:

My package.keywords and package.unmask:
> treat 1.5-bundles # cat /etc/portage/package.keywords
> app-office/gnucash quotes
> dev-java/sun-jdk ~x86
> dev-java/sun-jre-bin ~x86
> treat 1.5-bundles # cat /etc/portage/package.unmask
> >=dev-java/sun-jdk-1.4.99
> >=dev-java/sun-sdk-docs-1.4.99


Here's what it looks like:

treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs

These are the packages that I would merge, in order:

Calculating dependencies -
!!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*"
have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
# <[EMAIL PROTECTED]>
# lotsa things in the tree don't compile with 1.5 yet
# 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
# impossible, see bug 65937 for more information/discussion


For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild])


-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Zac Medico
Kevin O'Gorman wrote:
> Here's what it looks like:
> 
> treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies -
> !!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*"
> have been masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
> # <[EMAIL PROTECTED]>
> # lotsa things in the tree don't compile with 1.5 yet
> # 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
> # impossible, see bug 65937 for more information/discussion
> 
> 
> For more information, see MASKED PACKAGES section in the emerge man page or
> section 2.2 "Software Availability" in the Gentoo Handbook.
> !!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild])
> 
> 

They're hard masked inside /usr/portage/profiles/package.mask.  For the full 
story see http://bugs.gentoo.org/show_bug.cgi?id=65937.

Short story:

echo ">=dev-java/sun-jdk-1.4.99" >> /etc/portage/package.unmask
echo ">=dev-java/java-sdk-docs-1.4.99" >> /etc/portage/package.unmask
emerge sun-jdk sun-sdk-docs

After that you may want to use java-config to set java-1.4 as the default 
system compiler.

Zac





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Holly Bostick
Zac Medico schreef:
> Kevin O'Gorman wrote:
> 
>>Here's what it looks like:
>>
>>treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs
>>
>>These are the packages that I would merge, in order:
>>
>>Calculating dependencies -
>>!!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*"
>>have been masked.
>>!!! One of the following masked packages is required to complete your request:
>>- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
>># <[EMAIL PROTECTED]>
>># lotsa things in the tree don't compile with 1.5 yet
>># 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
>># impossible, see bug 65937 for more information/discussion
>>
>>
>>For more information, see MASKED PACKAGES section in the emerge man page or
>>section 2.2 "Software Availability" in the Gentoo Handbook.
>>!!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild])
>>
>>
> 
> 
> They're hard masked inside /usr/portage/profiles/package.mask.  For the full 
> story see http://bugs.gentoo.org/show_bug.cgi?id=65937.
> 
> Short story:
> 
> echo ">=dev-java/sun-jdk-1.4.99" >> /etc/portage/package.unmask
> echo ">=dev-java/java-sdk-docs-1.4.99" >> /etc/portage/package.unmask
> emerge sun-jdk sun-sdk-docs

You also have to echo to /etc/portage/package.keywords-- both packages
are twice-masked.

So in addition to the above:

echo "dev-java/sun-jdk ~x86" >> /etc/portage/package.keywords
echo "dev-java/java-sdk-docs ~x86" >> /etc/portage/package.keywords

You can unmask just the specific version using Zac's syntax, but you can
just unmask this and all future versions on general principle.

> 
> After that you may want to use java-config to set java-1.4 as the default 
> system compiler.
> 
> Zac

On my system, the previously-installed system default VM did not change
when I installed a new one-- what you might want to do is change the
*user* VM with java-config, in order to actually use the newly-installed
one. I'm sure there's a way to set the user VM permanently, but I don't
know what it is, and it doesn't seem to 'stick' (once I close the
program using Java, the user VM seems to go back to the default).

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Zac Medico
Holly Bostick wrote:

> 
> You also have to echo to /etc/portage/package.keywords-- both packages
> are twice-masked.
> 
> So in addition to the above:
> 
> echo "dev-java/sun-jdk ~x86" >> /etc/portage/package.keywords
> echo "dev-java/java-sdk-docs ~x86" >> /etc/portage/package.keywords
> 

Silly me, I have ACCEPT_KEYWORDS="~x86" :-).

> 
> On my system, the previously-installed system default VM did not change
> when I installed a new one-- what you might want to do is change the
> *user* VM with java-config, in order to actually use the newly-installed
> one. I'm sure there's a way to set the user VM permanently, but I don't
> know what it is, and it doesn't seem to 'stick' (once I close the
> program using Java, the user VM seems to go back to the default).
> 
> Holly

It works permanently for me with "source ${HOME}/.gentoo/java-env" in ~/.bashrc.

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
As I pointed out before, I already did those.   Again, here are 'cat's
of the files,
which nevertheless do not allow an emerge:

treat 1.5-bundles # cat /etc/portage/package.keywords
app-office/gnucash quotes
dev-java/sun-jdk ~x86
dev-java/sun-jre-bin ~x86
treat 1.5-bundles # cat /etc/portage/package.unmask
>=dev-java/sun-jdk-1.4.99
>=dev-java/sun-sdk-docs-1.4.99
treat 1.5-bundles #  

Did I miss something?



On 6/13/05, Holly Bostick <[EMAIL PROTECTED]> wrote:
> Zac Medico schreef:
> > Kevin O'Gorman wrote:
> >
> >>Here's what it looks like:
> >>
> >>treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs
> >>
> >>These are the packages that I would merge, in order:
> >>
> >>Calculating dependencies -
> >>!!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*"
> >>have been masked.
> >>!!! One of the following masked packages is required to complete your 
> >>request:
> >>- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
> >># <[EMAIL PROTECTED]>
> >># lotsa things in the tree don't compile with 1.5 yet
> >># 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
> >># impossible, see bug 65937 for more information/discussion
> >>
> >>
> >>For more information, see MASKED PACKAGES section in the emerge man page or
> >>section 2.2 "Software Availability" in the Gentoo Handbook.
> >>!!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild])
> >>
> >>
> >
> >
> > They're hard masked inside /usr/portage/profiles/package.mask.  For the 
> > full story see http://bugs.gentoo.org/show_bug.cgi?id=65937.
> >
> > Short story:
> >
> > echo ">=dev-java/sun-jdk-1.4.99" >> /etc/portage/package.unmask
> > echo ">=dev-java/java-sdk-docs-1.4.99" >> /etc/portage/package.unmask
> > emerge sun-jdk sun-sdk-docs
> 
> You also have to echo to /etc/portage/package.keywords-- both packages
> are twice-masked.
> 
> So in addition to the above:
> 
> echo "dev-java/sun-jdk ~x86" >> /etc/portage/package.keywords
> echo "dev-java/java-sdk-docs ~x86" >> /etc/portage/package.keywords
> 
> You can unmask just the specific version using Zac's syntax, but you can
> just unmask this and all future versions on general principle.
> 
> >
> > After that you may want to use java-config to set java-1.4 as the default 
> > system compiler.
> >
> > Zac
> 
> On my system, the previously-installed system default VM did not change
> when I installed a new one-- what you might want to do is change the
> *user* VM with java-config, in order to actually use the newly-installed
> one. I'm sure there's a way to set the user VM permanently, but I don't
> know what it is, and it doesn't seem to 'stick' (once I close the
> program using Java, the user VM seems to go back to the default).
> 
> Holly
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Zac Medico
Kevin O'Gorman wrote:
> As I pointed out before, I already did those.   Again, here are 'cat's
> of the files,
> which nevertheless do not allow an emerge:
> 
> treat 1.5-bundles # cat /etc/portage/package.keywords
> app-office/gnucash quotes
> dev-java/sun-jdk ~x86
> dev-java/sun-jre-bin ~x86
> treat 1.5-bundles # cat /etc/portage/package.unmask
> 
>>=dev-java/sun-jdk-1.4.99
>>=dev-java/sun-sdk-docs-1.4.99
> 
> treat 1.5-bundles #  
> 
> Did I miss something?
> 

echo "dev-java/sun-sdk-docs ~x86" >> /etc/portage/package.keywords

You have sun-jre-bin in there instead of sun-sdk-docs :P

Zac

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Holly Bostick
Zac Medico schreef:
> Holly Bostick wrote:
> 
> 
>>You also have to echo to /etc/portage/package.keywords-- both packages
>>are twice-masked.
>>
>>So in addition to the above:
>>
>>echo "dev-java/sun-jdk ~x86" >> /etc/portage/package.keywords
>>echo "dev-java/java-sdk-docs ~x86" >> /etc/portage/package.keywords
>>
> 
> 
> Silly me, I have ACCEPT_KEYWORDS="~x86" :-).

Silly me, I'm so cautious these days I forgot one might have it set that
way :-) .
> 
> 
>>I'm sure there's a way to set the user VM permanently, but I don't
>>know what it is
> 
> It works permanently for me with "source ${HOME}/.gentoo/java-env" in 
> ~/.bashrc.
> 


Ooh, thanks for the tip! Edited-- I've got an alias to edit .bashrc,
that's how much I do it, but never thought of doing that. Now I can set
azureus back to the binary in my menu.xml. Thanks a bunch.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Holly Bostick
Kevin O'Gorman schreef:
> As I pointed out before, I already did those.   Again, here are 'cat's
> of the files,
> which nevertheless do not allow an emerge:
> 
> treat 1.5-bundles # cat /etc/portage/package.keywords
> app-office/gnucash quotes
> dev-java/sun-jdk ~x86
> dev-java/sun-jre-bin ~x86
> treat 1.5-bundles # cat /etc/portage/package.unmask
> 
>>=dev-java/sun-jdk-1.4.99
>>=dev-java/sun-sdk-docs-1.4.99
> 
> treat 1.5-bundles #  
> 
> Did I miss something?
> 


Looks like it; look again at your post of the error message:
- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)

The docs package is masked both by package mask and ~arch keyword. But
you've only unmasked the docs'  hard mask in
/etc/portage/package.unmask. You haven't unmasked the docs in
/etc/portage/package.keywords.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
On 6/13/05, Zac Medico <[EMAIL PROTECTED]> wrote:
> Kevin O'Gorman wrote:
> > As I pointed out before, I already did those.   Again, here are 'cat's
> > of the files,
> > which nevertheless do not allow an emerge:
> >
> > treat 1.5-bundles # cat /etc/portage/package.keywords
> > app-office/gnucash quotes
> > dev-java/sun-jdk ~x86
> > dev-java/sun-jre-bin ~x86
> > treat 1.5-bundles # cat /etc/portage/package.unmask
> >
> >>=dev-java/sun-jdk-1.4.99
> >>=dev-java/sun-sdk-docs-1.4.99
> >
> > treat 1.5-bundles #
> >
> > Did I miss something?
> >
> 
> echo "dev-java/sun-sdk-docs ~x86" >> /etc/portage/package.keywords
> 
> You have sun-jre-bin in there instead of sun-sdk-docs :P
> 
> Zac

Thanks, I *did* miss that.  Unfortunately, it doesn't fix the problem.
Below, I try an emerge, then dump the files again.
Maybe I missed two things?

++ kevin



treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs

These are the packages that I would merge, in order:

Calculating dependencies -
!!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*"
have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
# <[EMAIL PROTECTED]>
# lotsa things in the tree don't compile with 1.5 yet
# 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
# impossible, see bug 65937 for more information/discussion


For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild])

treat 1.5-bundles # cat /etc/portage/package.unmask
>=dev-java/sun-jdk-1.4.99
>=dev-java/sun-sdk-docs-1.4.99
treat 1.5-bundles # cat /etc/portage/package.keywords
app-office/gnucash quotes
dev-java/sun-jdk ~x86
dev-java/sun-jre-bin ~x86
dev-java/sun-sdk-docs ~x86
treat 1.5-bundles #  

-- 
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Zac Medico
Kevin O'Gorman wrote:
> On 6/13/05, Zac Medico <[EMAIL PROTECTED]> wrote:
> 
>>Kevin O'Gorman wrote:
>>
>>>As I pointed out before, I already did those.   Again, here are 'cat's
>>>of the files,
>>>which nevertheless do not allow an emerge:
>>>
>>>treat 1.5-bundles # cat /etc/portage/package.keywords
>>>app-office/gnucash quotes
>>>dev-java/sun-jdk ~x86
>>>dev-java/sun-jre-bin ~x86
>>>treat 1.5-bundles # cat /etc/portage/package.unmask
>>>
>>>
=dev-java/sun-jdk-1.4.99
=dev-java/sun-sdk-docs-1.4.99
>>>
>>>treat 1.5-bundles #
>>>
>>>Did I miss something?
>>>
>>
>>echo "dev-java/sun-sdk-docs ~x86" >> /etc/portage/package.keywords
>>
>>You have sun-jre-bin in there instead of sun-sdk-docs :P
>>
>>Zac
> 
> 
> Thanks, I *did* miss that.  Unfortunately, it doesn't fix the problem.
> Below, I try an emerge, then dump the files again.
> Maybe I missed two things?
> 
> ++ kevin
> 
> 
> 
> treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies -
> !!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*"
> have been masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
> # <[EMAIL PROTECTED]>
> # lotsa things in the tree don't compile with 1.5 yet
> # 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
> # impossible, see bug 65937 for more information/discussion
> 
> 
> For more information, see MASKED PACKAGES section in the emerge man page or
> section 2.2 "Software Availability" in the Gentoo Handbook.
> !!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild])
> 
> treat 1.5-bundles # cat /etc/portage/package.unmask
> 
>>=dev-java/sun-jdk-1.4.99
>>=dev-java/sun-sdk-docs-1.4.99
> 
> treat 1.5-bundles # cat /etc/portage/package.keywords
> app-office/gnucash quotes
> dev-java/sun-jdk ~x86
> dev-java/sun-jre-bin ~x86
> dev-java/sun-sdk-docs ~x86
> treat 1.5-bundles #  
> 

Oops, it's java-sdk-docs, not sun-sdk-docs.  Inconsistent, don't you think?

Zac  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Holly Bostick
Kevin O'Gorman schreef:

> Thanks, I *did* miss that.  Unfortunately, it doesn't fix the problem.
> Below, I try an emerge, then dump the files again.
> Maybe I missed two things?
> 

Yes. You've unmasked (in /etc/portage/package.unmask) a specific version
of the docs (1.4.99, because you used an = sign, and a version number).

However, you're trying to install version 1.5.0 whatever, which you have
not unmasked.

Change the line in package unmask to reflect the correct version number.

HTH,
Holly

> ++ kevin
> 
> 
> 
> treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies -
> !!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*"
> have been masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword)
> # <[EMAIL PROTECTED]>
> # lotsa things in the tree don't compile with 1.5 yet
> # 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3)
> # impossible, see bug 65937 for more information/discussion
> 
> 
> For more information, see MASKED PACKAGES section in the emerge man page or
> section 2.2 "Software Availability" in the Gentoo Handbook.
> !!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild])
> 
> treat 1.5-bundles # cat /etc/portage/package.unmask
> 
>>=dev-java/sun-jdk-1.4.99
>>=dev-java/sun-sdk-docs-1.4.99
> 
> treat 1.5-bundles # cat /etc/portage/package.keywords
> app-office/gnucash quotes
> dev-java/sun-jdk ~x86
> dev-java/sun-jre-bin ~x86
> dev-java/sun-sdk-docs ~x86
> treat 1.5-bundles #  
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Zac Medico
Holly Bostick wrote:

> Yes. You've unmasked (in /etc/portage/package.unmask) a specific version
> of the docs (1.4.99, because you used an = sign, and a version number).
> 
> However, you're trying to install version 1.5.0 whatever, which you have
> not unmasked.
> 


That's what I though for a moment too, but it was actually Thunderbird hiding 
the greater than signs from me.  When I clicked "reply" I saw the plain text 
and realized what was going on.  It is java-sdk-docs *not* sun-sdk-docs! 
Hahahahaha ;-)

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Holly Bostick
Zac Medico schreef:
> Holly Bostick wrote:
> 
> 
>>Yes. You've unmasked (in /etc/portage/package.unmask) a specific version
>>of the docs (1.4.99, because you used an = sign, and a version number).
>>
>>However, you're trying to install version 1.5.0 whatever, which you have
>>not unmasked.
>>
> 
> 
> 
> That's what I though for a moment too, but it was actually Thunderbird hiding 
> the greater than signs from me.  When I clicked "reply" I saw the plain text 
> and realized what was going on.  It is java-sdk-docs *not* sun-sdk-docs! 
> Hahahahaha ;-)
> 
> Zac

I thought of that possibility after I hit 'Send' oh well. You may
have won this round, but I'll be back (saw Austin Powers 3 tonight, so
insert Trademarked Evil Laugh here)!

Holly, hoping that Kevin actually can get the docs installed, despite
this foolish interlude from us :-) .
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Zac Medico
Holly Bostick wrote:
> 
> I thought of that possibility after I hit 'Send' oh well. You may
> have won this round, but I'll be back (saw Austin Powers 3 tonight, so
> insert Trademarked Evil Laugh here)!
> 
> Holly, hoping that Kevin actually can get the docs installed, despite
> this foolish interlude from us :-) .

Foolish interlude is right.  The portage messages were trying to tell us all 
along.  Oh well, we're only human.

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Neil Bothwick
On Mon, 13 Jun 2005 15:52:44 -0700, Kevin O'Gorman wrote:

> 1) I thought java 1.5 wasn't there because it was not found by
> emerge -s java
> emerge -s jre
> emerge -s blackdown

emerge -av eix

Not only is eix much faster than emerge -s but it also shows masked
packages.


-- 
Neil Bothwick

If there is light at the end of the tunnel...order more tunnel.


pgpJFwbf0Eru6.pgp
Description: PGP signature


Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Holly Bostick
Neil Bothwick schreef:
> On Mon, 13 Jun 2005 15:52:44 -0700, Kevin O'Gorman wrote:
> 
> 
>>1) I thought java 1.5 wasn't there because it was not found by
>>emerge -s java
>>emerge -s jre
>>emerge -s blackdown
> 
> 
> emerge -av eix
> 
> Not only is eix much faster than emerge -s but it also shows masked
> packages.
> 
> 

Indeed it is as long as you remember to update-eix after an esync
(or emerge sync). Gotta put that in as a cron job or something-- or is
there a better way to keep the index current?

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Neil Bothwick
On Tue, 14 Jun 2005 13:21:33 +0200, Holly Bostick wrote:

> Indeed it is as long as you remember to update-eix after an esync
> (or emerge sync). Gotta put that in as a cron job or something-- or is
> there a better way to keep the index current?

I run this script as a cron job in the early hours

#!/bin/bash

emerge --sync
emerge world --update --deep --newuse --pretend --verbose \
| Mail -s "Updated packages for $(hostname)" neil 
glsa-check 2>/dev/null --test all | Mail -s "GLSA check on $(hostname)" neil
update-eix
emerge world -uDNf &>/dev/null


-- 
Neil Bothwick

McBorg: Over 50 million assimilated!


pgp5lh388bjdh.pgp
Description: PGP signature


Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Kevin O'Gorman
Thaks, all -- I now have a new Java, and know about a few new
utilities.  But I'm probably still in trouble.  The rest at the bottom.

On 6/14/05, Peter Ruskin <[EMAIL PROTECTED]> wrote:
> On Tuesday 14 June 2005 12:48, Neil Bothwick wrote:
> > On Tue, 14 Jun 2005 13:21:33 +0200, Holly Bostick wrote:
> > > Indeed it is as long as you remember to update-eix after an
> > > esync (or emerge sync). Gotta put that in as a cron job or
> > > something-- or is there a better way to keep the index current?
> >
> > I run this script as a cron job in the early hours
> >
> > #!/bin/bash
> >
> > emerge --sync
> > emerge world --update --deep --newuse --pretend --verbose \
> >
> >   | Mail -s "Updated packages for $(hostname)" neil
> >
> > glsa-check 2>/dev/null --test all | Mail -s "GLSA check on
> > $(hostname)" neil update-eix
> > emerge world -uDNf &>/dev/null
> 
> I like the esync output. so my cron job looks like this:
> 
> # sync Gentoo nightly and check for updates
> 0 0 * * 1-6 /usr/sbin/esync -ns && /usr/bin/update-eix -q
> && /usr/bin/emerge world -uNvpl
> 
> ...and for Sunday:
> # sync Gentoo weekly and check (deep) for updates
> 0 0 * * 7 /usr/sbin/esync -ns && /usr/bin/update-eix -q
> && /usr/bin/emerge world -uNDvtpl
> 
> --
> Peter

I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
tell me that 1.5 is all I have.   Of course, when I look in /opt, I get
a different impression of things.  Am I right in surmising that
I have all those old versions, and I just need java-config to point
to various places to get other things to happen?

If so, I'm in good shape, because I just did a user-only config
to 1.5 so presumably 'root' is still using 1.4.2.

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Zac Medico
Kevin O'Gorman wrote:

> 
> I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
> tell me that 1.5 is all I have.   Of course, when I look in /opt, I get
> a different impression of things.  Am I right in surmising that
> I have all those old versions, and I just need java-config to point
> to various places to get other things to happen?
> 

Yes,  "java-config -L" will list every installed java vm.  The actual portage 
database for installed packages is located in /var/db/pkg.

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Kevin O'Gorman
On 6/14/05, Zac Medico <[EMAIL PROTECTED]> wrote:
> Kevin O'Gorman wrote:
> 
> >
> > I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
> > tell me that 1.5 is all I have.   Of course, when I look in /opt, I get
> > a different impression of things.  Am I right in surmising that
> > I have all those old versions, and I just need java-config to point
> > to various places to get other things to happen?
> >
> 
> Yes,  "java-config -L" will list every installed java vm.  The actual portage 
> database for installed packages is located in /var/db/pkg.
> 
> Zac

Great!

Thanks one and all -- this is a good result.

The best part is that under 1.5 a persistent problem I'd been having
with Swing layout managers
has gone away: now when I pack() a JFrame multiple times, I get a
proper layout with no anomalous regions.  (Sample on request).

To me, that's better than the rest of 1.5's features combined!

++ kevin


-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-14 Thread Zac Medico
Kevin O'Gorman wrote:
> On 6/14/05, Zac Medico <[EMAIL PROTECTED]> wrote:
> 
>>Kevin O'Gorman wrote:
>>
>>
>>>I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
>>>tell me that 1.5 is all I have.   Of course, when I look in /opt, I get
>>>a different impression of things.  Am I right in surmising that
>>>I have all those old versions, and I just need java-config to point
>>>to various places to get other things to happen?
>>>
>>
>>Yes,  "java-config -L" will list every installed java vm.  The actual portage 
>>database for installed packages is located in /var/db/pkg.
>>
>>Zac
> 
> 
> Great!
> 
> Thanks one and all -- this is a good result.
> 
> The best part is that under 1.5 a persistent problem I'd been having
> with Swing layout managers
> has gone away: now when I pack() a JFrame multiple times, I get a
> proper layout with no anomalous regions.  (Sample on request).
> 
> To me, that's better than the rest of 1.5's features combined!
> 
> ++ kevin
> 
> 

I like the new metal look and feel much better than the old one.  Now when I 
see the old one it almost makes me gag :-).

Zac
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-16 Thread Kevin O'Gorman
Thaks, all -- I now have a new Java, and know about a few new
utilities.  But I'm probably still in trouble.  The rest at the bottom.

On 6/14/05, Peter Ruskin <[EMAIL PROTECTED]> wrote:
> On Tuesday 14 June 2005 12:48, Neil Bothwick wrote:
> > On Tue, 14 Jun 2005 13:21:33 +0200, Holly Bostick wrote:
> > > Indeed it is as long as you remember to update-eix after an
> > > esync (or emerge sync). Gotta put that in as a cron job or
> > > something-- or is there a better way to keep the index current?
> >
> > I run this script as a cron job in the early hours
> >
> > #!/bin/bash
> >
> > emerge --sync
> > emerge world --update --deep --newuse --pretend --verbose \
> >
> >   | Mail -s "Updated packages for $(hostname)" neil
> >
> > glsa-check 2>/dev/null --test all | Mail -s "GLSA check on
> > $(hostname)" neil update-eix
> > emerge world -uDNf &>/dev/null
> 
> I like the esync output. so my cron job looks like this:
> 
> # sync Gentoo nightly and check for updates
> 0 0 * * 1-6 /usr/sbin/esync -ns && /usr/bin/update-eix -q
> && /usr/bin/emerge world -uNvpl
> 
> ...and for Sunday:
> # sync Gentoo weekly and check (deep) for updates
> 0 0 * * 7 /usr/sbin/esync -ns && /usr/bin/update-eix -q
> && /usr/bin/emerge world -uNDvtpl
> 
> --
> Peter

I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
tell me that 1.5 is all I have.   Of course, when I look in /opt, I get
a different impression of things.  Am I right in surmising that
I have all those old versions, and I just need java-config to point
to various places to get other things to happen?

If so, I'm in good shape, because I just did a user-only config
to 1.5 so presumably 'root' is still using 1.4.2.

++ kevin

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-17 Thread Holly Bostick
Kevin O'Gorman schreef:
> Thaks, all -- I now have a new Java, and know about a few new
> utilities.  But I'm probably still in trouble.  The rest at the bottom.
> 
> On 6/14/05, Peter Ruskin <[EMAIL PROTECTED]> wrote:
> 
>>On Tuesday 14 June 2005 12:48, Neil Bothwick wrote:
>>
>>>On Tue, 14 Jun 2005 13:21:33 +0200, Holly Bostick wrote:
>>>
Indeed it is as long as you remember to update-eix after an
esync (or emerge sync). Gotta put that in as a cron job or
something-- or is there a better way to keep the index current?
>>>
>>>I run this script as a cron job in the early hours
>>>
>>>#!/bin/bash
>>>
>>>emerge --sync
>>>emerge world --update --deep --newuse --pretend --verbose \
>>>
>>>  | Mail -s "Updated packages for $(hostname)" neil
>>>
>>>glsa-check 2>/dev/null --test all | Mail -s "GLSA check on
>>>$(hostname)" neil update-eix
>>>emerge world -uDNf &>/dev/null
>>
>>I like the esync output. so my cron job looks like this:
>>
>># sync Gentoo nightly and check for updates
>>0 0 * * 1-6 /usr/sbin/esync -ns && /usr/bin/update-eix -q
>>&& /usr/bin/emerge world -uNvpl
>>
>>...and for Sunday:
>># sync Gentoo weekly and check (deep) for updates
>>0 0 * * 7 /usr/sbin/esync -ns && /usr/bin/update-eix -q
>>&& /usr/bin/emerge world -uNDvtpl
>>
>>--
>>Peter
> 
> 
> I got Java 1.5 to install.  Now the nifty new tools (thanks for eix!)
> tell me that 1.5 is all I have.   

Interesting... eix is nice, but apparently not perfect. If I search 'eix
java', neither blackdown nor Sun comes up (no jre's, actually). But a
search of 'eix jre' produces:

* dev-java/blackdown-jre
 Available versions:  !1.3.1-r9 1.4.1-r1 1.4.2.01-r1 *~1.4.2.02
 Installed:   1.4.2.01-r1
 Homepage:http://www.blackdown.org
 Description: Blackdown Java Runtime Environment 1.4.2.02

* dev-java/compaq-jre
 Available versions:  *1.3.1-r3
 Installed:   no
 Homepage:
ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/
 Description: Compaq Java Development Kit 1.3.1 for
Alpha/Linux/GNU

* dev-java/ibm-jre-bin
 Available versions:  ~1.4.1-r1 ~1.4.2
 Installed:   no
 Homepage:http://www-106.ibm.com/developerworks/java/jdk/
 Description: IBM Java Development Kit 1.4.2

* dev-java/jrexx
 Available versions:  1.1.1
 Installed:   no
 Homepage:http://www.karneim.com/jrexx/
 Description: Regular expression API for textual pattern
matching based on the finite state automaton theory.

* dev-java/sun-jre-bin
 Available versions:  1.4.2.07-r1 1.4.2.08 ~1.5.0.02 ~1.5.0.03
 Installed:   1.5.0.03
 Homepage:http://java.sun.com/j2se/
 Description: Sun's J2SE Platform


Found 5 matches

which correctly shows that I have both the blackdown and Sun Java
runtime environments installed.

> Of course, when I look in /opt, I get
> a different impression of things.  Am I right in surmising that
> I have all those old versions, and I just need java-config to point
> to various places to get other things to happen?
> 
> If so, I'm in good shape, because I just did a user-only config
> to 1.5 so presumably 'root' is still using 1.4.2.

Here's one way of checking:

# export


declare -x JAVAC="/opt/blackdown-jdk-1.4.2.01/bin/javac"
declare -x JAVA_HOME="/opt/blackdown-jdk-1.4.2.01"
declare -x JDK_HOME="/opt/blackdown-jdk-1.4.2.01"


$ export


declare -x JAVAC="/opt/blackdown-jdk-1.4.2.01/bin/javac"
declare -x JAVA_HOME="/opt/sun-jre-bin-1.5.0.03"
declare -x JDK_HOME="/opt/blackdown-jdk-1.4.2.01"


So as you can see, the exported variables for root and the user are
different, at least as far as what Java VM are being used-- I don't have
the Sun JDK installed, but only the Blackdown, so that's correct too. It
doesn't seem to make any difference for the Java executables I've used
so far.

The idea being, 'export' without parameters will give you a list of the
current environment variables in use and their state. Of course, in this
case, you could just do a 'java-config -f' for both the user and for
root, to confirm what VM each one was using.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Java java java, I miss my java

2005-06-17 Thread Neil Bothwick
On Fri, 17 Jun 2005 12:47:04 +0200, Holly Bostick wrote:

> Interesting... eix is nice, but apparently not perfect. If I search 'eix
> java', neither blackdown nor Sun comes up (no jre's, actually). But a
> search of 'eix jre' produces:

That's because eix searches on the package name by default. Use -C or -A
to search  on the category or category/name respectively.


-- 
Neil Bothwick

The nice thing about Windows is - It does not just crash,
it displays a dialog box and lets you press OK first.


pgpcIVGHACiCu.pgp
Description: PGP signature