[Slackbuilds-users] jdk fix for 7u80

Willy Sudiarto Raharjo willysr at slackbuilds.org
Wed Jul 15 02:25:37 UTC 2015


> i've had to stay on version 7 for awhile now since some apps just
> don't run properly on 8 and i've run into issues with slackrepo where
> it doesn't seem to acknowledge that i've installed it from the
> official jdk slackbuild (slackware mainline) so i wanted to give the
> sbo slackbuild a try. when i pass VERSION=7u80 to slackrepo it... well
> almost works. the fix should be pretty simple:
> 
> ============================
> PRGNAM=jdk
> VERSION=${VERSION:-8u45}
> BUILD=${BUILD:-1}
> TAG=${TAG:-_SBo}
> 
> DVER=1.8.0_$(printf $VERSION | cut -du -f2)
> ============================
> 
> the last line should read:
> 
> DVER=1.$(printf $VERSION | cut -du -f1).0_$(printf $VERSION | cut -du -f2)
> 
> an arguably better way to go is to just take the directory named jdk*
> and move/rename it to avoid folder name guessing.

Fixed in my branch along with JDK update to 8u51


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150715/7b486ea3/attachment.asc>


More information about the SlackBuilds-users mailing list