How to copy data between s3 buckets
Overview Transferring data between Amazon S3 buckets is a common requirement for many AWS users. This guide will walk …
In this article we will see the usage of some common Java commands for non Java Developers.
Command to get the Java version in your machine
java -version
Here is a example output from this command
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
Command to get the Java compiler version
javac -version
Here is a example output from this command
javac 1.8.0_252
Command to compile a java program
javac my-program.java
Command to run a java program
java my-program
Command to change the default java version if you have multiple java installed
sudo update-alternatives --config java
Command to find the java home
java -XshowSettings:properties -version 2>&1 > /dev/null | grep 'java.home'
Command to find the Max Heap Size and Max RAM in a machine
java -XX:+PrintFlagsFinal -XX:MaxRAM=1g -version | grep -Ei "maxheapsize|maxram"
Overview Transferring data between Amazon S3 buckets is a common requirement for many AWS users. This guide will walk …
In this article, we’re diving into a data engineering demo project that’s all about bringing cricket player …