Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat installation

 
m.indira mandapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have installed tomcat 4.0 and j2sdk1.4.2.
I tried to start tomcat server then it is saying
you must set java_HOME tpo point your jsk installation.
Please reply me how to set that.
 
Thomas De Vos
stable boy
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This depends on the operating system.
Under Unix/Linux you will set execute the following in a terminal:
export JAVA_HOME=/opt/jdk1.4
under windows: set JAVA_HOME=c:\jdk1.4
Tomcat has a setclasspath.bat file. You can define the JAVA_HOME in here.
 
m.indira mandapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i did set the java home in catalina.bat file.
I started the server ,i see that path there.
But see a message out of environment space !
what is this , how to fix it.
I have created a classes folder in the web-apps/ROOT/WEB_INF
DO i need to set class path for this so that i can put all my .class files in this to run the application.
thank you
indira
 
mounika paruchuri
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try setting the environment variable JAVA_HOME to point to the jdk directory on your system.In windows you can do this by following steps..
 
mounika paruchuri
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try setting the environment variable JAVA_HOME to point to the jdk directory on your system.In windows you can do this by following steps..
right click on My computer,
click on Advanced tab,
click on Environment variables and you can see JAVA_HOME in the list or you can add one and set up the value
 
Hafizur Rahman
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by m.indira mandapati:
But see a message out of environment space !

Please change the Windows DOS environment memory to highest one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic