My Slackware installation came with Java, but I would rather have OpenJDK because it is completely free/open source and seems to work better with Linux/X Window System's way of doing things rather than being carried over from Windows.
So I did this:
# removepkg jre
# removepkg jdk
And then I downloaded the OpenJDK tarball here:
I found the link that seemed appropriate, downloaded the tarball, and extracted it. then I typed make (there was no configure and a makefile was there already).
This showed up around the middle:
WARNING: LANG has been set to en_US, this can cause build failures.
Try setting LANG to "C".
WARNING: The version of ant being used is older than
the required version of '1.6.3'.
The version of ant found was ''.
This around the end:
which: no ant in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/qt/bin:/usr/share/texmf/bin:.)
make: Entering directory `/home/michael/downloads/packages/openjdk/langtools/make'
Makefile:161: *** 'ant' not found -- please set ANT_HOME or put 'ant' on your PATH. Stop.
make: Leaving directory `/home/michael/downloads/packages/openjdk/langtools/make'
make: *** [langtools-build] Error 2
make: Leaving directory `/home/michael/downloads/packages/openjdk'
make: *** [build_product_image] Error 2
So I understand that I need Ant, but it says in Ant's documentation that to install Ant I need Java. HOW IS THAT SUPPOSED TO WORK?!?!?