Slackware---Install Java or OpenJDK

Install Java on slackware OS

1: downloading the java package which are end with .tar.gz

2: cp the source tree /extra/java to the directory where java package placed

3: run the java.SlackBuild script and create /tmp/jdk-version.txz file

4: run upgradepkg --install-new /tmp/jdk-version.txz command to

install the jdk to the system.

5: reboot the system and let sysem reconized the changes.


Install OpenJDK from the source file

1:

你可能感兴趣的:(Slackware---Install Java or OpenJDK)