[Slackbuilds-users] Updates - 20201206.1
Luiz Carlos Ramos
lramos.prof at yahoo.com.br
Mon Dec 7 11:53:33 UTC 2020
just out of curiosity, in your system, if you type javac -version, what
do you get?
In my system, it gave me things like:
or for the java runtime:
java version "1.7.0_281"
OpenJDK Runtime Environment (IcedTea 2.6.24) (Slackware)
OpenJDK 64-Bit Server VM (build 24.281-b01, mixed mode)
I traced these packages and in fact they belong to an OpenJDK (from
Alien's repository) which obviously is not in the stock Slackware
Anyway, in the build process some Java code was processed and it has
code constructions which are not supported in Java 1.7.
Now I feel that if the system has no Java installed at all, maybe the
build process skips all these Java thing. To verify this, I would take
some time to do it; so I won't try.
At the INSTALL.txt, it is stated that Java is needed only to build "Java
bindings". This may give some support to my "feeling" stated above.
A more simpler test would be setting a system with Java 1.7 compiler
(this is easy to do, setting the PATH environment variable accordingly)
and trying to rebuild the package. It hopefully would give errors such
the ones I saw here.
On Sun, Dec 06, 2020 at 06:16:51PM -0500, Barry J. Grundy wrote:
> On 12/6/20 9:39 AM, Luiz Carlos Ramos wrote:
> > Hello again,
> > I had also some problems when building sleuthkit. Surprisingly at least
> > for me there were some Java components, one or two of them which failed
> > in the compilation phase.
> > Investigating the issue, it was found that they need JDK 1.8 to be
> > built (with JDK 1.7 the compilation fails). Putting jdk1.8 binary path
> > in the $PATH environment variable could solve the problem in my system.
> > I would suggest adding a note in the README file about that.
> > Alternatively, a Java 1.8 package can be put as an explicit dependency
> > (but which specific package would be selected?).
> > Many thanks,
> > Luiz Ramos
> > lramos dot prof at yahoo dot com dot br
> > São Paulo - Brazil
> Hi Luiz,
> I've tested and built sleuthkit 4.10.1 on a clean 14.2 system with no
> additional packages. I had no issues with any Java components.
> Perhaps I'm missing something?
More information about the SlackBuilds-users