LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-16-2017, 05:09 PM   #1
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
OpenJDK in Slackware on RPI3


Hello all,
I've just installed Slackware-current on my RPI3 and am trying to install the OpenJDK but for the life of me cannot figure out how. I can't find an arm OpenJDK anywhere, I'm seeing openjdk for i486 and x86_64, and other RPI distros seem to have arm versions in their repositories, but no arm here http://www.slackware.com/~alien/slackbuilds/openjdk/

Can someone point me in the right direction? I can't seem to find the magic keywords to bring up anything useful with google
 
Old 11-16-2017, 05:30 PM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
You could take a precompiled "official" package for armv7 HardFloat directly from Oracle:
http://www.oracle.com/technetwork/ja...s-2133151.html
- file:
jdk-8u151-linux-arm32-vfp-hflt.tar.gz

And follow the JAVA section from here (I usually put Java in /opt/java):
https://www.linuxquestions.org/quest...ml#post5777657

Last edited by abga; 11-16-2017 at 05:31 PM. Reason: simplified
 
Old 11-16-2017, 05:32 PM   #3
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Original Poster
Rep: Reputation: 190Reputation: 190
I did see that Oracle package, I am wanting the OpenJDK though. Does a prebuilt not exist for Slack?
 
Old 11-16-2017, 05:37 PM   #4
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Sorry, missed the "Open" prefix. I have no clue about any prebuilt packages for ARM, maybe someone else could help.
 
Old 11-17-2017, 04:16 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,624

Rep: Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346
Quote:
Originally Posted by abga View Post
Sorry, missed the "Open" prefix. I have no clue about any prebuilt packages for ARM, maybe someone else could help.
I built OpenJDK once by modifying alienBOB's scripts:

ftp://ftp.arm.slackware.com/slackwar...ource/openjdk/

I don't know if they're any use now since they're from 2013.

I don't know of anybody who has packaged the current versions and makes them available for ARM though. You'll probably need to do that yourself.
 
Old 11-17-2017, 04:32 AM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Original Poster
Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by drmozes View Post
I built OpenJDK once by modifying alienBOB's scripts:

ftp://ftp.arm.slackware.com/slackwar...ource/openjdk/

I don't know if they're any use now since they're from 2013.

I don't know of anybody who has packaged the current versions and makes them available for ARM though. You'll probably need to do that yourself.
Yes, I had considered building it but from what I had determined it would take quite a while to build on an RPI.
Seems strange to me that it's so hard to come by for Slack.
Anyway, I ended up installing Devuan to stay away from SystemD. When work isn't so busy, I might try try working out the details for Slack. Thanks for the input
 
Old 11-17-2017, 03:41 PM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,624

Rep: Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346
Quote:
Originally Posted by TheEzekielProject View Post
Seems strange to me that it's so hard to come by for Slack.
It's open source. I feel like the consumption:feedback ratio is something like 95%:5%
So thanks to the 5% :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AArch64 kernel and modules to install Slackware ARM current on the RPi3 Exaga Slackware - ARM 27 02-07-2017 11:45 AM
Problems building LibreOffice on RPI3 Slackware hard float slackist Slackware - ARM 16 12-04-2016 11:53 AM
Can''t connect to rpi3, slackware installation image by Fatdog Reedych Slackware - ARM 4 08-20-2016 01:26 PM
Compiling java icedtea for openjdk 7 with openjdk 6 Alpha90 Programming 2 03-29-2015 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration