Pages

Install Java JDK AIX


Install Java JDK on Remote Server

1: Copy Java package directory to remote server
# scp -rp /shared/unix_pbm_repos/acn/java835 root@<server_name>:/tmp/
Replace <server_name> with your actual server hostname or IP.
This copies the Java 8.3.5 package directory to /tmp/ on the remote server.

2: Install the Java JDK package on the remote server
# ssh -q <server_name> installp -aFXYd /tmp/java835 Java8_64.sdk
Explanation of flags:
-a : Automatically accept software licenses.
-F : Force installation.
-X : Expand filesets.
-Y : Apply updates to the currently installed version.
-d : Specify the directory containing the package.

3: Verify Java installation
# ssh <server_name> java -version

No comments:

Post a Comment