Package Details: jdk6 6u45-6

Git Clone URL: (read-only)
Package Base: jdk6
Description: Oracle Java 6 Development Kit (public release - end of support)
Upstream URL:
Licenses: custom
Provides: java-environment=6, java-environment-jdk=6, java-runtime=6, java-runtime-headless=6, java-runtime-headless-jre=6, java-runtime-jre=6, java-web-start=6, java-web-start-jre=6
Submitter: Det
Maintainer: ItachiSan
Last Packager: ItachiSan
Votes: 83
Popularity: 0.690357
First Submitted: 2014-10-18 07:16
Last Updated: 2017-06-27 14:40

Dependencies (17)

Required by (1000)

Sources (8)

Latest Comments

ItachiSan commented on 2017-06-27 14:25

@Det @wsnark it was working for me, just tested in an Arch Docker container and it did not. Fixed the DLAGENTS, should work now.

Det commented on 2017-06-27 13:46

No, the problem is not the public release (6u45), it's that you can't download even that without logging in anymore.

wsnark commented on 2017-06-27 13:24

The DLAGENTS still points to http variant, so the build fails.

BTW, what about adding an option to download last public release too? For people who do not care about security fixes, but prefer downloading from Oracle?

ItachiSan commented on 2017-06-26 13:23

@Det thanks for the Dropbox mirrors.
Now building should work fine.

Det commented on 2017-06-14 16:56

I assume you mean those sources won't work?

I just downloaded the thing both from my own Dropbox and, and the md5sums are the same:

40c1a87563c5c6a90a0ed6994615befe *jdk-6u45-linux-x64 (1).bin
40c1a87563c5c6a90a0ed6994615befe *jdk-6u45-linux-x64.bin

E: Oh right. Yes, just replace the "DLAGENTS" override in the PKGBUILD with this (originally defined in /etc/makepkg.conf):

DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -b oraclelicense=a -o %o %u'
       'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u')

The dropboxes are HTTPS, and I did a HTTP-only override for the links back in the day.

napterk commented on 2017-06-14 14:54

Those Dropbox sources won't work with curl and https.

The hashes of md5sums are not correct. Can someone update this?

Det commented on 2017-06-02 17:57

For working Dropbox mirrors:


Det commented on 2015-07-18 18:42

Please include the Java Cryptography Extension (JCE), which provides access to important ciphers like 256-bit AES that are required by some applications:

This is already included in OpenJDK by default.

ItachiSan commented on 2015-04-22 21:14

I've no problems in building x86_64 package; maybe you should retry to make the package removing the .bin file and running again makepkg (so the downloads will be downloaded properly).
Some infos:
$ md5sum jdk-6u45-linux-x64.bin
40c1a87563c5c6a90a0ed6994615befe jdk-6u45-linux-x64.bin
$ du -sb jdk-6u45-linux-x64.bin
72087592 jdk-6u45-linux-x64.bin
$ du -sh jdk-6u45-linux-x64.bin # Almost useless, but gives you an idea of the size
69M jdk-6u45-linux-x64.bin

DiscipleOfDante commented on 2015-04-13 15:05

Source jdk-6u45-linux-x64.bin fails validity check, please fix.

ItachiSan commented on 2015-01-03 20:14

DLAGENTS fixed, thanks to @Det.
Everything should be fine now.

Det commented on 2015-01-03 18:27

You need to remove the quotes from the DLAGENTS line, as suggested:

DLAGENTS=('http::/usr/bin/curl -LC - -b "oraclelicense=a" -O')


DLAGENTS=('http::/usr/bin/curl -LC - -b oraclelicense=a -O')

Kendos_Kenlen commented on 2015-01-03 18:25

I've a checking file signature error :

==> Building and installing package
==> Making package: jdk6 6u45-2 (Sat Jan 3 19:24:47 CET 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading jdk-6u45-linux-x64.bin...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5307 100 5307 0 0 6502 0 --:--:-- --:--:-- --:--:-- 6502
-> Found javaws-launcher
-> Found jconsole-jdk6.desktop
-> Found jmc-jdk6.desktop
-> Found jvisualvm-jdk6.desktop
-> Found policytool-jdk6.desktop
==> Validating source files with md5sums...
jdk-6u45-linux-x64.bin ... FAILED
javaws-launcher ... Passed
jconsole-jdk6.desktop ... Passed
jmc-jdk6.desktop ... Passed
jvisualvm-jdk6.desktop ... Passed
policytool-jdk6.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build jdk6.

Det commented on 2014-12-24 15:42

Since makepkg 4.2.0, the DLAGENTS line can't have quotes around "oraclelicense=a":

DLAGENTS=('http::/usr/bin/curl -LC - -b oraclelicense=a -O')

Det commented on 2014-10-20 11:20

6u45-2: support "archlinux-java".

RibShark commented on 2014-08-18 11:21

Can you update this to support archlinux-java as detailed here:

ItachiSan commented on 2014-04-28 21:16

@SolarEklipze, will do maybe ;)

SolarEklipze commented on 2014-04-24 00:54

Hey, would you mind adding a symlink from /opt/java6 to /usr/lib/jvm/java-6-oracle? Some of my old java projects look for an executable there. I think you maintain jdk7-compat, if you'd add a symlink from /op/java7 to /usr/lib/jvm/java-7-oracle in that pkg aswell, that's be awesome.

Thanks man!

ItachiSan commented on 2014-03-22 09:44

@Det, fixed this also, thanks for the tip ;)

Det commented on 2014-03-17 20:59

Download doesn't work anymore; I currently use:

DLAGENTS=('http::/usr/bin/curl -LC - -b "oraclelicense=a" -O')

donniezazen commented on 2013-10-29 12:21

I have to install this or jre6-compat to run Karel the Robot program from CS106A an old Stanford course. I have jdk installed. Both this package and jre6-compat conflict with jdk. Are these only compatible with OpenJDK/OpenJRE?

ItachiSan commented on 2013-08-24 12:05

For any doubt read carefully here:

I want to make you aware that this is (probably) last version of the package as Oracle declared that it stopped releasing JDK/JRE 6 pubblic updates.
They'll be avaible just for companies which are paying Oracle for Java 6.
And because of the fact I don't pay Oracle and so I cannot have the access to their updated Java 6 ('cause as I said is just for companies) I won't release up-to-date packages as I don't want to get in trouble.
AUR jre6/jdk6 packages includes only-companies JRE6.
If you want, you can just make a few edits to this PKGBUILD and link it to companies-only JRE6; it's really easy.
I just simply won't do it.
You can do it, it's up to you.
And don't flag this as outdated, as it is up to date considering pubblic release.
Sorry for repetitions, the long message and not-so-good English.

ItachiSan commented on 2013-08-24 11:56

@tam1338 they're needed for jdk6-compat and they're included there.

Anonymous comment on 2013-07-04 22:14

Any idea why the /etc/profile.d files aren't installed? Specifically, lines 67, 73, and 74 are commented out (and 73 also appears to have a typo: s/5/6/).

67: #mkdir -p "${pkgdir}"/etc/profile.d/
73: #install -m755 jdk6.profile "${pkgdir}"/etc/profile.d/
74: #install -m755 jdk6.profile.csh "${pkgdir}"/etc/profile.d/jdk6.csh

ItachiSan commented on 2013-07-01 06:40

Restored old version!
As this is a downgrade (in order to non have legal problems with Oracle), you've to install it with:
$AUR_WRAPPER -S jdk6-compat
Rather than simply update... Sorry for the trouble :/

ItachiSan commented on 2013-07-01 06:34

The same as I thought,
Will see if I'll be able to restore old version ;)

gandalfmagic commented on 2013-06-27 10:31

Hi, if I can say my thoughts, It might be some kind of license infringement to have this version (and the next ones) installed on our PC.

Reading this page:
and thish:
I suspect the NOT public releases of the JVM 6 are only (legally) available to EBS users (subscribers??, is a paid service, right???).

Happy to be wrong :), but maybe is a better idea to restore the publicly available 6u45.

SuperBo commented on 2013-06-26 16:27

@ItachiSan: Officially, Oracle has stopped posting updates of Java SE 6 to its public download sites. This means that there will not be any public release from now on.

ItachiSan commented on 2013-06-26 13:14

Teorically is not a public release, anyways thanks, will update it hoping in no problems.

SuperBo commented on 2013-06-23 23:12

I think the latest version is 6u51 as in

ItachiSan commented on 2013-06-09 08:24

To xgdgsc:
- I had that warning to, I'm kinda new to Arch packaging but I'll rewrite pkgbuild with package().
- Any JDK depends on his JRE, it is in official repos and unofficial ones... I think that avoid people to install things they don't want.
I mean:
If you want JDK, you need JRE.
If you want JRE, you don't need JDK.
That's why I and the people who mantained it before me do this.

xgdgsc commented on 2013-06-09 03:09

WARNING: Using a PKGBUILD without a package() function is deprecated.
You shouldn' t depend on jre6-compat, it' s a waste of time for us and for you. Just include installation of jre in this package.

ItachiSan commented on 2013-05-01 18:39

Updating it now h31, anyways great work up to now! :D

h31 commented on 2013-05-01 16:48

Sorry for the delay, I can't update this package as frequently as it should be, so I abandon it.

ItachiSan commented on 2013-05-01 12:04

Waiting for h31...

ItachiSan commented on 2013-05-01 08:28

Outdated, 6-b45 out

artemklevtsov commented on 2013-04-15 06:32

I get error: pkgrel must be a decimal.

h31 commented on 2013-01-10 10:30

Fixed, sorry for a long delay :)
pkgrel is the same, so to apply a fix you should rebuild the package manually.

h31 commented on 2013-01-10 10:26

Fixed, sorry for a long delay :)

Viski commented on 2013-01-06 06:55

+1 to japgolly's find

This indeed needs jre6-compat to be installed to work. It should be added to dependencies.

SuperBo commented on 2012-12-16 09:39

6u38-b05 has been released.

japgolly commented on 2012-10-30 13:34

Hi! This seems to be missing a dependency on jre6-compat.
jdk6-compat expects jre6 to be installed and installs symlinks to jre files. If jre isn't installed then the links point to nothing and doesn't work.

> ls -l /opt/java6/bin/java
lrwxrwxrwx 1 root root 15 Oct 31 00:23 /opt/java6/bin/java -> ../jre/bin/java

> ls -l /opt/java6/bin/../jre/bin/java
ls: cannot access /opt/java6/bin/../jre/bin/java: No such file or directory

Anonymous comment on 2012-09-07 10:28

Validating source files with md5sums...
jdk-6u35-linux-x64.bin ... FAILED

$ md5sum jre6-compat/jdk-6u35-linux-x64.bin
3876e012629977ce08054347cf3bfdb0 jre6-compat/jdk-6u35-linux-x64.bin

Anonymous comment on 2012-06-08 17:40

I've included the new DLARGS to get past Oracle being cranky, however, the build can't be upgraded to 6u32-b05 yet because bombs during the build ( Still not sure how to resolve.

Anonymous comment on 2012-04-12 16:42

You may need to download the JDK installer file manually for now. Oracle is getting cranky about it.

I may update the PKGBUILD with an option to download from my own server.

Anonymous comment on 2012-04-12 16:34

@tinhtruong -- That's a commented-out entry, with no effect on the installation. Might as well delete the line entirely.

tinhtruong commented on 2012-03-15 10:15

There's a typo in the PKGBUILD, line 68:
Original: #install -m755 jdk6.profile "${pkgdir}"/etc/profile.d/
Should be: #install -m755 jdk6.profile "${pkgdir}"/etc/profile.d/

Please correct this.

Anonymous comment on 2012-03-07 04:29

Just in case anybody comes wandering by, this was shamelessly taken and modified from the following AUR packages: - JRE6 - JDK6