When you run an application, particularly if it is a java application, you definitely need to have compatible versions of JDK that comes with JRE which is inclusive of Java Virtual Machine. Furthermore, what’s more important to actually execute a java program is setting Environment Variable such as PATH, CLASSPATH, JAVA_HOME. From my experience, especially when I started learning Java Programming Language, I went through a lot of errors caused by inappropriate settings of those variables. On top of that, Unix Operating System is quite different from Windows in terms of setting environment variables and managing them.
|