Java(TM) JDK for Slackware ARM -current
Consider this package [experimental] for the time being, at least. I've tested it on command line as much as I'm happy that it's installing Java and seems to be functioning as expected. It compiles OK. It runs the Java code OK. I haven't found any problems with it thus far.
However, I have not tested it in a desktop environment. I'm hoping some of you Java gurus can apprise me of any results regarding that. Any feedback will be very much appreciated. :cool: http://sarpi.co.uk/files/pkg/jdk-8u1...urrent_sp1.txz http://sarpi.co.uk/files/pkg/jdk-8u1...urrent_sp1.md5 NB: Java 8 is hard float ABI only. So, ONLY install this package on Slackware ARM -current! |
clean
|
Quote:
|
I just added an additional option + the ability for users to build the package
|
Quote:
I've built this JDK myself using a script I wrote myself and I'm asking users to test it for me. Why would I be interested in the JDK you have built? |
ok, understood
|
Exaga, thanks for the update! I'm a Java "consumer" and was wondering if your JDK is different / better optimized in comparison with the official Oracle binary packages:
http://www.oracle.com/technetwork/ja...s-2133151.html Linux ARM 32 Hard Float ABI 77.92 MB jdk-8u161-linux-arm32-vfp-hflt.tar.gz Linux ARM 64 Hard Float ABI 74.88 MB jdk-8u161-linux-arm64-vfp-hflt.tar.gz |
Quote:
I needed to compile some Java shizzle and went looking for a Slackware ARM JDK package. Only to find there wasn't one, or at least Google wasn't helpful in finding one for me. So, I did a bit of D.I.Y. It seemed to work fine so I thought it might be useful to share it with Joe Public, but only if it's working 100%. Hence my request for some assistance in testing it. |
Quote:
Code:
# readelf -A /kit/java-compare/exaga/java/bin/java Code:
# readelf -A /kit/java-compare/oracle/java/bin/java This is how a binary is compiled by default on Slackware ARM -current: Code:
# readelf -A /usr/bin/openssl |
I'm always forgetting about the differences between Java JDK (Oracle) and OpenJDK, but at least the SlackBuild is using the wording correctly repackage instead of building:
"This is a SlackBuild that will repackage Oracle Java into a package that can be easily installed, upgraded, or removed using Slackware's native package management tools." https://slackbuilds.org/repository/1...velopment/jdk/ And the "source code" - src.zip is not useful for recompiling the Java JDK (Oracle): "These files do not include platform-specific implementation code and cannot be used to rebuild the class libraries." http://www.oracle.com/technetwork/ja....html#contents @Exaga - your Oracle JDK (re)package should work, I can't see why it shouldn't, and I just removed the one I had (taken directly from Oracle) and put yours in place. Should I notice some weird things, I'll report. Just for the record, this is how I manually download, unpack (I put it in /opt) and use the Oracle JDK under Slackware ARM -current (excerpt from my notes): cd /opt http://www.oracle.com/technetwork/ja...s-2133151.html wget http://download.oracle.com/otn-pub/j...fp-hflt.tar.gz tar -xzpf jdk-8u161-linux-arm32-vfp-hflt.tar.gz mv jdk1.8.0_144/ java/ -create: /etc/profile.d/jdk.sh - with the following content: #!/bin/sh export PATH="$PATH:/opt/java/bin" export JAVA_HOME="/opt/java/" - then make it executable: chmod +x /etc/profile.d/jdk.sh |
Quote:
Quote:
"Does it ******* work or not???". :banghead: |
Hi Exaga,
Quick question, did you write a new SBo or did you modify the original one from -current? Just curious. I was building one using a modified SBo (I renamed the 586 portion to arm). By building, I'm obviously referring to repackaging the file from Oracle. Thank you for taking the initiative to create this file. |
Quote:
Quote:
|
Quote:
Quote:
Jog on. |
A reminder that LQ aims to be welcoming to all, and personal attacks on others will not be tolerated.
--jeremy |
All times are GMT -5. The time now is 06:17 AM. |