[Bug 66829] setclasspath.bat: troubles when _RUNJAVA contains spaces

2023-08-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66829

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Mark Thomas  ---
The issue was just with _RUNJAVA and _RUNJDB

Fixed in:
- 11.0.x for 11.0.0-10 onwards
- 10.1.x for 10.1.12 onwards
-  9.0.x for  9.0.79 onwards
-  8.5.x for  8.5.92 onwards

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66829] setclasspath.bat: troubles when _RUNJAVA contains spaces

2023-08-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66829

--- Comment #3 from Mark Thomas  ---
I think there may be some issues with spaces in the path to Java but the
example in the original report is wrong. It uses

set VAR="value with spaces"

it should be

set "VAR=value with spaces"

I'm continuing to investigate spaces in JAVA_HOME and _RUNJAVA

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66829] setclasspath.bat: troubles when _RUNJAVA contains spaces

2023-08-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66829

--- Comment #2 from Дилян Палаузов  ---
The same problem is described at
https://bz.apache.org/bugzilla/show_bug.cgi?id=66056 

In the bug report I wrote as substutution

> if not defined %_RUNJAVA% goto gotRunJava

but it should be

> if defined _RUNJAVA goto gotRunJava

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 66829] setclasspath.bat: troubles when _RUNJAVA contains spaces

2023-08-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66829

Mark Thomas  changed:

   What|Removed |Added

 OS||All

--- Comment #1 from Mark Thomas  ---
For those trying to recreate this, WSL appears to be a red herring. Simply
creating a _RUNJAVA variable containing a space is sufficient to break things.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org