LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Java slackbuild from DVD builds i586 package from x64 binary on pure Slackware64 15 (https://www.linuxquestions.org/questions/slackware-14/java-slackbuild-from-dvd-builds-i586-package-from-x64-binary-on-pure-slackware64-15-a-4175719548/)

southernlegends 12-08-2022 05:55 AM

Java slackbuild from DVD builds i586 package from x64 binary on pure Slackware64 15
 
Greetings friends,

I want to install java on my Slackware64 15 laptop in order to run aard2 web dict app in Firefox.

I've downloaded java binary package from Oracle website for my arch, changed directory into Slack DVD Extra directory for Java and executed command:

Code:

./java.SlackBuild /home/southernlegends/Downloads/jdk-17_linux-x64_bin.tar.gz
After slackbuild succesfully finished building package, I was presented with this:

Code:

Slackware package /tmp/jdk-17_linux-i586-1.txz created
I'am puzzled with what happened, it seems I shouldn't proceed with installing i586 package on my x86_64 system.

So what should I do?

Paulo2 12-08-2022 06:36 AM

I think they changed the file name scheme, the SlackBuild doesn't get the arch anymore.
Try changing "jdk-17_linux-x64_bin.tar.gz" to "jdk-17-linux-x64.tar.gz" as said in the README
Code:

<snip>
Then, run the script like this:

./java.SlackBuild /tmp/jre-7u5-linux-x64.tar.gz
<snip>


southernlegends 12-08-2022 07:15 AM

Quote:

Originally Posted by Paulo2 (Post 6396687)
Try changing "jdk-17_linux-x64_bin.tar.gz" to "jdk-17-linux-x64.tar.gz" as said in the README

Indeed, following your suggestion, proper package was built.
So, strict adherence to naming convention and layout is mandatory.
Thank you, Paulo2.


All times are GMT -5. The time now is 12:47 AM.