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 (yayyyy!) > > ++ 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