• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in setting class path

 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15480
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should set JAVA_HOME to c:\jdk1.4, not c:\jdk1.4\bin.
 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read Jesper's post more carefully.
 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15480
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks it is working fine with xp.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic