Re: Problem building jdk8
TN Patriot via slackware <[email protected]> Thu, 3 Oct 2019 20:04:20 -0500
| Newsgroups | gmane.linux.slackware |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 3 Oct 2019 14:54:02 -0700 (PDT) Rich Shepard via slackware <[email protected]> wrote: > I use JabRef as my scientific reference database. I was asked to try the new > JabRef-5.0.0 so I built jdk11 using the java source in -current/extra. That > worked and upgraded from the installed jdk8. > > Unfortunately, JabRef-5.0.0 is not working acceptably on my Ryzen7 desktop > and I need to drop back to JabRef-4.3.1. I copied the jave11 slackware > directory to jave8 and downloaded Oracles jdk8u-221. But when I tried > building it this error message was displayed: > > # time ./java.SlackBuild > ./java.SlackBuild: line 25: /tmp/package-java: Is a directory > chown: missing operand after ‘root.root’ > Try 'chown --help' for more information. > mv: cannot stat 'jdk1.8.0_221': No such file or directory > > The build directory has the same files that worked for jdk11 (except for the > source tarballs): > > /opt/jdk8-slackbuildd]# ls > README jdk-8u221-linux-x64.tar.gz slack-desc.jdk > java.SlackBuild* profile.d/ slack-desc.jre > > I'm not seeing what I've missed and ask you to advise me how to build this > earlier jdk package. > > TIA, > > Rich > If I remember correct, you have to reboot the system any time you change the jdk, so that it'll get recognized (or whatever). Try doing that first, then uninstalling the current jdk with pkgtool in a console, then try to rebuild the jdk8 again. Hopefully that will make it take. -- slackware mailing list [email protected] https://mailman.lug.org.uk/mailman/listinfo/slackware