jetty / jetty/jetty.docker

JAVA_OPTIONS with arguments value containing space

Open
#148 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
23
Forks
17
Avg merge
8d 22h
Merged PRs (30d)
3

Description

How are we supposed to path an argument with a space?

```shell
docker run -e JAVA_OPTIONS="-Xmx1g -Dldap.user=dada" jetty:10

2023-06-28 09:06:48.887:INFO :oejs.Server:main: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z;
```

```shell
docker run -e JAVA_OPTIONS="-Xmx1g -Dldap.user=\"dadaada\"" jetty:10

2023-06-28 09:09:53.305:INFO :oejs.Server:main: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z;

```

```shell
docker run -e JAVA_OPTIONS="-Xmx1g -Dldap.user=\"dada ada\"" jetty:10

Error: Could not find or load main class ada"
Caused by: java.lang.ClassNotFoundException: ada"
jetty dry run failed:
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.