Featured post
java - Tomcat -- Running a web application -
i'm trying run sample app in tomcat. i've installed tomcat, set environment variable creating new system variable called java_home set c:\program files\java\jdk1.6.0_20. , i've created new dir web app in tomcat program directory. in cmd prompt navigate tomcat program directory , type in bin/startup.sh , following error: 'bin' not recognized internal or external command, operable program, or batch file. i'm using tomcat 6.0 , i'm on windows machine. problem?
if try typing in bin\startup.bat
on windows machine , still same error, there's possibility windows not seeing batch script should be. a-horse-with-no-name said, try installing tomcat location there no spaces in path. in case, anywhere other program files
.
edit: resolve space issue, can 2 things: 1) install jdk/jre common location without spaces (say, c:\java) , set java_home environment variable. 2) install tomcat location (say, c:\tomcat) , proceed there. since these in common location, believe can limited account user without needing admin privileges.
- Get link
- X
- Other Apps
Comments
Post a Comment