How to query Apache Iceberg tables in S3 and AWS Glue using external tables in Snowflake
As data platforms grow, one of the most expensive patterns is duplicating raw data across multiple storage engines. If …
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 an 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 an 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"
As data platforms grow, one of the most expensive patterns is duplicating raw data across multiple storage engines. If …
I have been using self-hosted services for a while now. It all started with Pogoplug, the cost effective plug and play …