export(1posix) _JAVA_OPTIONS%3D%22-Xms256m -Xmx2g%22
set the export attribute for variables
source manpages: export