RE: java_home in tomcat6

2008-07-30 Thread Radcliffe, William H.
"JDK16~1.0_0" (There, I didn't say it. ;) ). - Bill -Original Message- From: zorglub76 [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 8:12 AM To: users@tomcat.apache.org Subject: Re: java_home in tomcat6 :confused::confused::confused: I commented out the @e

Re: java_home in tomcat6

2008-07-30 Thread zorglub76
:confused::confused::confused: I commented out the @echo off line of catalina.bat and server started with no problems. Then I removed comments, and it still worked... I don't get it. But anyway, the server is chugging happily.. zorglub76 wrote: > > Hi all, > I have a problem with setting J

Re: java_home in tomcat6

2008-07-30 Thread Johnny Kewl
eg on NB if I want the webapp to use Java 5 and I want it to use TC 5.5... On the project... right click properties->run --- pick the TC you want... On the project... right click properties->lib... and pick the JRE you want. On the server... the JRE used is in the Java Tab... You never have to

Re: java_home in tomcat6

2008-07-30 Thread Johnny Kewl
- Original Message - From: "zorglub76" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 30, 2008 10:58 AM Subject: java_home in tomcat6 Hi all, I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16. When I set it in catalina.bat as: set JAVA_HOME=C:\Program Files\Java\jdk1

Re: java_home in tomcat6

2008-07-30 Thread zorglub76
Yes, I tried it with single quotes. What confuses me here is that I have two double quotes in the end of the error log (whatever quotes I use): Files\Java\jdk1.6.0_07"" was unexpected at this time. Deepak Mishra-2 wrote: > > i havent used windows, but in linux i frequently face this problem due

RE: java_home in tomcat6

2008-07-30 Thread zorglub76
I left this as the last solution. In fact, I'd be OK with having java 1.5 with the Tomcat. I just wanted to find the part of startup code that causes this issue. Obviously, I only need some quotes somewhere, and I hoped someone could point me that spot. I'll keep searching for that. Peter Crowt

Re: java_home in tomcat6

2008-07-30 Thread Deepak Mishra
i havent used windows, but in linux i frequently face this problem due to spaces in between. so you should better install it at a location other than "Program Files" i am surprised over how you got tc5 working this way !! also, did you try single-quotes as well as double-quotes ? On Wed, 30 Ju

RE: java_home in tomcat6

2008-07-30 Thread Peter Crowther
> From: zorglub76 [mailto:[EMAIL PROTECTED] > I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16. > When I set it in catalina.bat as: > set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 > set JRE_HOME=C:\Program Files\Java\jdk1.6.0_07\jre > > I get an error: > Files\Java\jdk1.6.0_07""