How to change TimeZone in Java and Linux.

A. Set TimeZone by Programming (Java)

// or pass in a command line arg: -Duser.timezone=”Japan”
B. Set TimeZone by Command Line (Linux)

C. Set TimeZone by Environment (for login user)
# for all processes run in current shell in file .bash_profile

# for all applications using JVM