Any location of SlackBuild for jdk6?
Hello
Does anyone has/knows where from I can fetch a SlackBuild for installing JDK6? slackbuilds.org and official tree contains slackbuild for JDK7, and as far as I know it cannot be converted into SlackBuild by manually specifying VERSION variable during slackbuild run(different original packages formats, etc). I am new in my current Java project and would not risk using newer versions in order to not break anything. Thanks. |
I thought the Slackbuild was version-agnostic so to say. It doesn't mention any version on it.
http://slackware.mirrors.tds.net/pub....1/extra/java/ |
Use the one from an older Slackware such as Slackware 12.1 which was at JDK 6u6. It appears that Slackware 13.37 was the last versioned JDK included with Slackware at 6u25.
I too thought it was version agnostic, but not really sure if the Oracle acquisition changed anything. |
I've been using every latest JDK update that comes out using the regular slackbuild for it and substituting in the JDK build number. Right now I have JDK 8u5 (correction, I got sloppy and missed something maybe, but I *now* have the latest, which is 8u20). You have to pay attention to the version *AND* the DVER of the tarball you downloaded.
Here's the jdk.Slackbuild I have for it: Code:
#!/bin/sh |
Question to irgunII - what is the DVER value for the jdk-8u20-linux-i586.tar.gz tarball ?
I'm trying to build this version. |
1 Attachment(s)
Depending on what file manager you use (I use krusader exclusively) you can click once on the downloaded tarball and it will show you the files/directories that are in it. In this case it's one directory and whatever it's titled will be the DVER. The 8u20 tarball is now DVER=1.8.0_20
|
If you're really looking for older versions of JDK they're available at http://www.oracle.com/technetwork/ja...ve-139210.html. Note, though, the warnings:
Quote:
All that said, there really isn't a good reason to not use Java 7 (or perhaps even 8). If you have an existing Java 6 installation (the Slackware package), you can use the SlackBuild provided with, say, Slackware 14.1 to "compile" JDK 7 (you don't actually compile it, the SlackBuild just creates an installable package for you). Older versions of Slackware are available at http://ftp.osuosl.org/pub/slackware/ and the extra directory; e.g., JDK 6 is available in that directory in the Slackware 13.37 directory. If you've lost your installed version source, you can recover from OSUOSL just to cover your bases (or select from a European mirror site rather than OSUOSL). I have a couple of Java packages that have been upgraded from JDK 6 to JDK 7 without problems (yours may vary of course). I always install JDK rather than JRE because I need the compiler for some things. JRE is installed with JDK so if you just install JDK you won't have any problems of a missing JRE because it's there. The SlackBuilds that come with Slackware -- that Java ones in the /extra directory in particular -- have never given me any problems keeping Java up to date though different versions. Nowadays you need to download from Oracle (because they no longer allow a distribution to bundle Java) but Slackware provides you with the tools you need (the SlackBuild) to keep everything up to date (and you simply execute the SlackBuild then upgradepkg). Too, with Slackware packages, you can remove a package and install another one in it's place and if that doesn't work simply remove the new and reinstall the older. I will note that I have had problems with OpenJava: why, I do not know and I have just stuck with Oracle for my (rather limited) Java needs. Hope this helps some. |
All times are GMT -5. The time now is 12:17 AM. |