This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
When i upgraded my IntelliJIDEA to version 10 and run my project, it shows me a message as the following:
cmd /c "C:\Tomcat 6\bin\catalina.bat" run
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
Disconnected from server
Thus, in my system environment i created a new variable with name JAVA_HOME and its value with name C:\Program Files\Java\jdk1.6.0_24\bin.
But when i try to run it again then it shows the same message shown above...
What am I doing wrong? Any help will be appreciated!