Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes TOMEE-2261 Make service.bat compatible with JDK11+ #301

Merged
merged 1 commit into from Dec 21, 2018
Merged

Fixes TOMEE-2261 Make service.bat compatible with JDK11+ #301

merged 1 commit into from Dec 21, 2018

Conversation

gerwinjansen
Copy link
Contributor

@gerwinjansen gerwinjansen commented Dec 21, 2018

When JAVA_HOME is set to a path with a space (e.g. C:\Program Files\Java\jdk11.0.1), I get this error:

C:\Program Files\TomEE\bin>service install
11 was unexpected at this time.

This is introduced with #178. I fixed it by adding quotes to the path.

Bonus: removal of superfluous tokens which are not used.

@jgallimore
Copy link
Contributor

Thanks for this. I'll give it a quick test and we'll merge it in.

@asfgit asfgit merged commit e420c0f into apache:master Dec 21, 2018
@jgallimore
Copy link
Contributor

I've merged this in, many thanks for the PR!

@gerwinjansen gerwinjansen deleted the TOMEE-2261 branch December 21, 2018 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants