find out what version of java your running code example Example: how to check which java version i have java -version