On Mon, 21 Oct 2024 07:21:14 GMT, Jan Lahoda wrote:
> usage of what
That seems pretty self-evident to me.
"launcher" is our terminology for the java executable, but for users it is just
a program that runs other stuff.
-
PR Review Comment: https://git.openjdk.org/jdk/pull/21411#d
On Mon, 21 Oct 2024 09:41:50 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Mon, 21 Oct 2024 09:41:50 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Mon, 21 Oct 2024 09:41:50 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Mon, 21 Oct 2024 11:59:21 GMT, Magnus Ihse Bursie wrote:
> So what does the current output look like now after all adjustments?
Uh, right. Now updated in the description.
-
PR Comment: https://git.openjdk.org/jdk/pull/21411#issuecomment-2426476144
On Wed, 16 Oct 2024 18:01:28 GMT, Roger Riggs wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Adjusting the concise help as suggested: 'using main class of a JAR
>> archive' and '.jar'/'.java'
>
> src/java.base/shar
On Fri, 18 Oct 2024 14:11:12 GMT, Alan Bateman wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Adjusting the concise help as suggested: 'using main class of a JAR
>> archive' and '.jar'/'.java'
>
> src/java.base/sha
On Thu, 17 Oct 2024 11:48:43 GMT, Weijun Wang wrote:
> `.java to compile and execute a single-file program`
>
> This is no more precise since we have [JEP 458: Launch Multi-File Source-Code
> Programs](https://openjdk.org/jeps/458).
Thanks, using "source-file program":
https://github.com/openj
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not the `java` launcher, but it is difficult find out abo
On Thu, 17 Oct 2024 06:02:50 GMT, Jaikiran Pai wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Adjusting the concise help as suggested: 'using main class of a JAR
>> archive' and '.jar'/'.java'
>
> src/java.base/sha
On Thu, 17 Oct 2024 00:03:49 GMT, David Holmes wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Adjusting the concise help as suggested: 'using main class of a JAR
>> archive' and '.jar'/'.java'
>
> src/java.base/sha
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Thu, 17 Oct 2024 06:29:05 GMT, Jan Lahoda wrote:
>> src/java.base/share/native/libjli/java.c line 1935:
>>
>>> 1933: NULL_CHECK(printConciseUsageMessage =
>>> (*env)->GetStaticMethodID(env, cls,
>>> 1934: "printConciseUsageMessage",
>>> "(Z)V"));
On Thu, 17 Oct 2024 06:14:21 GMT, Jaikiran Pai wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Adjusting the concise help as suggested: 'using main class of a JAR
>> archive' and '.jar'/'.java'
>
> src/java.base/sha
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Wed, 16 Oct 2024 14:55:34 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Thu, 10 Oct 2024 17:54:51 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not the `java` launcher, but it is difficult find out abo
On Wed, 16 Oct 2024 07:45:15 GMT, Magnus Ihse Bursie wrote:
>> Or even `.java` to pair with ``
>
> That might not be the case in the future, if the file uses an "unnamed class"
> (https://openjdk.org/projects/amber/design-notes/on-ramp).
Also, if you change `` to `.java` (I guess it is a
good
On Wed, 16 Oct 2024 01:30:10 GMT, David Holmes wrote:
>> src/java.base/share/classes/sun/launcher/resources/launcher.properties line
>> 241:
>>
>>> 239: \ -jar to execute the main class in a JAR
>>> archive\n\
>>> 240: \ -m [/] to execute the main class of a module\n\
>>> 241: \
On Thu, 10 Oct 2024 17:54:51 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Wed, 16 Oct 2024 01:29:16 GMT, David Holmes wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Adjusting the concise help based on review suggestions.
>
> src/java.base/share/classes/sun/launcher/resources/launcher.p
On Thu, 10 Oct 2024 17:54:51 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Thu, 10 Oct 2024 17:56:23 GMT, Jan Lahoda wrote:
> I've adjusted the concise help to:
>
> ```
> $ java
> openjdk 24-internal 2025-03-18
>
> Usage: java [java options...] [application arguments...]
> ```
How about just `[arguments...]` instead of `[application arguments...]`?
It's shorter,
On Thu, 10 Oct 2024 17:54:51 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
On Thu, 10 Oct 2024 17:54:51 GMT, Jan Lahoda wrote:
>> Currently, running `java` without any parameters will lead to an output that
>> is a full `--help`, which is over 100 lines (on my computer at least), and
>> it feels overwhelming. And many people might actually want to run
>> JShell/REPL,
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not the `java` launcher, but it is difficult find out abo
On Tue, 8 Oct 2024 15:28:17 GMT, Jan Lahoda wrote:
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not
On Tue, 8 Oct 2024 15:28:17 GMT, Jan Lahoda wrote:
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not
On Tue, 8 Oct 2024 15:28:17 GMT, Jan Lahoda wrote:
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not
On Wed, 9 Oct 2024 07:44:49 GMT, Jan Lahoda wrote:
> I was thinking of a different way to say , that would not
> loose the descriptiveness, but none so far. Any more descriptive/specific
> suggestions than ?
I understand why you ended up with that choice of words, since it is not
trivial to
On Tue, 8 Oct 2024 15:28:17 GMT, Jan Lahoda wrote:
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not
On Tue, 8 Oct 2024 15:28:17 GMT, Jan Lahoda wrote:
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not
On Tue, 8 Oct 2024 15:38:01 GMT, Magnus Ihse Bursie wrote:
> Yay! This looks so much better than the default blob. I think you are on the
> right track, but the actual message can do with some fine tuning. For
> instance, `` seems a bit ... untypically non-formal. What
> about just ``?
I am n
On Tue, 8 Oct 2024 15:28:17 GMT, Jan Lahoda wrote:
> Currently, running `java` without any parameters will lead to an output that
> is a full `--help`, which is over 100 lines (on my computer at least), and it
> feels overwhelming. And many people might actually want to run JShell/REPL,
> not
Currently, running `java` without any parameters will lead to an output that is
a full `--help`, which is over 100 lines (on my computer at least), and it
feels overwhelming. And many people might actually want to run JShell/REPL, not
the `java` launcher, but it is difficult find out about JShel
41 matches
Mail list logo