wood burning stoves 2.0*
The moose likes Tomcat and the fly likes doubt in setting class path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "doubt in setting class path" Watch "doubt in setting class path" New topic
Author

doubt in setting class path

raja ram
Ranch Hand

Joined: Mar 02, 2008
Posts: 169
hi,

i have tomcat installed on windows 98 in edited my Autoexe.bat file and added the value as JAVA_HOME=c:\jdk1.4\bin; but when i start my tomcat through startup comman it says systax error and saya java_home variable is not set correctly.

can any body give me some example.

Thanks
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

You should set JAVA_HOME to c:\jdk1.4, not c:\jdk1.4\bin.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
raja ram
Ranch Hand

Joined: Mar 02, 2008
Posts: 169
Hi,

Yes i set c:\jdk1.4\bin; only but still not working. any idea

Thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Read Jesper's post more carefully.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
raja ram
Ranch Hand

Joined: Mar 02, 2008
Posts: 169
Hi,

I have set envernoment variable like below.

JAVA_HOME : C:\JDK1.5
CATALINA_HOME: C:\tomcat

when i start tomcat it displays

syntax error
out of environment space
out of environment space
out of environment space
using JAVA_HOME : C:\JDK1.5
using CATALINA_HOME: C:\tomcat
out of environment space
out of environment space
Bad command or file name

what is my mistake is there any other environment variable to be set.

Thanks
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Have a look at this: http://support.microsoft.com/kb/230205

Try searching for: windows 98 "out of environment space"
with Google.

By the way, Windows 98 is a very old and insecure operating system. I don't know if it's even still officially a supported platform for Java. If you can, you should try getting a new computer with a newer operating system - Linux, Windows XP or Vista, or Mac OS X. Linux will most likely even run on your old computer and is much more secure than any version of Windows.
[ April 02, 2008: Message edited by: Jesper Young ]
raja ram
Ranch Hand

Joined: Mar 02, 2008
Posts: 169
Hi,

Thanks it is working fine with xp.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt in setting class path
 
Similar Threads
ClassNotFoundException
Problem in starting Tomcat.
Tomcat deployment environment
Unable to compile class for JSP
Tomcat