• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

doubt in setting class path

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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

Thanks
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Read Jesper's post more carefully.
 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks it is working fine with xp.

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic