How to manage Snowflake infrastructure as code with DCM Projects
For a long time, managing Snowflake objects as code meant picking between a few imperfect options. Terraform is great …
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"
For a long time, managing Snowflake objects as code meant picking between a few imperfect options. Terraform is great …
Computers have been doing work for humans for decades. The fundamental loop has always been the same: a person has a …