strictfp is a modifier in the java programming language that restricts floating-point calculations to ensure portability. the strictfp command was introduced into java with the java virtual machine (jvm) version 1.2 and is available for use on all currently updated java vms.