export(1posix) _JAVA_OPTIONS="-Xms256m -Xmx2g"
set the export attribute for variables
source manpages: export