as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
what environment variables are necessary to run a java program?
user
the following environment variables are necessary to run a java program: 

java_home, which specifies the directory where the java runtime environment is installed; path, which specifies the directories where executable programs are located; and classpath, which specifies the locations of java class files.
assistant