This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes environment variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "environment variable" Watch "environment variable" New topic
Author

environment variable

Rizvan Asgarov
Ranch Hand

Joined: Jan 07, 2009
Posts: 451

Hi friends,
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!
Rizvan


"Half of the science is to ask question"
R. Grimes
Ranch Hand

Joined: Aug 23, 2009
Posts: 42
Are you sure you didn't create them in the "user variables" section instead of the "system variables" section of the environment variables panel?

Ron Grimes
Rizvan Asgarov
Ranch Hand

Joined: Jan 07, 2009
Posts: 451

Yes, it worked at last. It is possible that the shutdown/restart has been caused to working correctly
Thanks anyway R. Grimes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: environment variable
 
Similar Threads
Tomcat Not Starting with startup.bat
Tomcat Not Starting with startup.bat
help in tomcat installation
Help in tomcat installation!!!
error on setting Java_home for Tomcat4.0.3