Hello! I have no idea since the issue is un-googlable, but the reproducer is trivial. The problem here is not with the script but with java refusing to run Main class.
Regards, -- Ilya Kasnacheev пт, 28 дек. 2018 г. в 19:50, Denis Magda <dma...@apache.org>: > Ilya, > > Have you confirmed that the issue with -J is common for all the scripts > calling a Java app? Is there any JDK ticket for version prior to 11? > > -- > Denis > > On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <vololo...@gmail.com> > wrote: > > > AFAIK, "-J" is also a common way used by developers of the java > > platform for passing JVM system properties from command line tools > > which start JVM inside. E.g. keytool follows such approach [1]. > > > > [1] > > https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html > > (section Common Options). > > > > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <akuznet...@apache.org>: > > > > > > Denis, > > > > > > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh) > > > For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10 -v > > > > > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <dma...@apache.org> wrote: > > > > > > > Ilya, > > > > > > > > Why do we use -J in general? Is it used to pass a specific type of > > > > parameters? I know -D or - X but can't recall what -J is supposed to > be > > > > used for. > > > > > > > > -- > > > > Denis > > > > > > > > > > -- > > > Alexey Kuznetsov > > > > > > > > -- > > Best regards, > > Ivan Pavlukhin > > >