Hey Florian,

not javac, but ModiTect allows you to specify the main class when
defining module descriptors:

    
https://github.com/moditect/moditect#adding-a-module-descriptor-to-the-project-jar

--Gunnar

Am So., 31. Mai 2020 um 19:32 Uhr schrieb Florian Weimer <f...@deneb.enyo.de>:
>
> Is it possible to instruct javac to generate a ModuleMainClass
> attribute via a module declaration?  I can't find the appropriate
> syntax in the JLS.  If there is no way to get javac to generate the
> attribute, what is the reason for that?

Reply via email to