jshell executable

Jan Lahoda jan.lahoda at oracle.com
Mon Apr 25 12:14:52 UTC 2016


Hi Grigory,

The file that causes the creation of the jshell launcher is this one:
http://hg.openjdk.java.net/jdk9/dev/jdk/file/06bd77b3af21/make/launcher/Launcher-jdk.jshell.gmk

It reuses the standard launcher makefile, shared by all the launchers:
http://hg.openjdk.java.net/jdk9/dev/jdk/file/06bd77b3af21/make/launcher/LauncherCommon.gmk

The main generic launcher code is then, AFAIK, in the jdk/src/java.base 
module, e.g.:
http://hg.openjdk.java.net/jdk9/dev/jdk/file/06bd77b3af21/src/java.base/share/native/launcher/main.c

Jan

On 25.4.2016 13:44, Grigory Ptashko wrote:
> Hello again!
>
> Can anyone give me a hint on this?
>
> That’s really a tough one for me.. I cannot find the answer.
>
> Thank you.
>
>> On 25 апр. 2016 г., at 0:57, Grigory Ptashko <grigory.ptashko at gmail.com> wrote:
>>
>> Yes, I know that.
>>
>> But I  was hoping that someone would show me the exact place where
>> the sources/scripts/Makefiles for the jshell binary are located inside the
>> langtools tree.
>>
>>> On 25 апр. 2016 г., at 0:55, Andy Aylward <aaylward at gmail.com> wrote:
>>>
>>> Hi Grigory,
>>>
>>> I think what you're looking for is at http://hg.openjdk.java.net/kulla/dev/langtools/ .
>>>
>>> Andy
>>>
>>> On Sun, Apr 24, 2016 at 4:47 PM, Grigory Ptashko <grigory.ptashko at gmail.com> wrote:
>>> Hello.
>>>
>>> Can anyone, please, tell me where in the jdk source tree
>>> can I find the sources for creating the jshell executable?
>>> The binary which is located in the bin folder of the jdk.
>>>
>>> Thank you.
>>>
>>> --
>>> Best regards,
>>> Grigory Ptashko
>>>
>>> +7 (916) 1489766
>>> grigory.ptashko at gmail.com
>>> facebook.com/GrigoryPtashko
>>>
>>>
>>
>>
>> --
>> Best regards,
>> Grigory Ptashko
>>
>> +7 (916) 1489766
>> grigory.ptashko at gmail.com
>> facebook.com/GrigoryPtashko
>>
>
>
> --
> Best regards,
> Grigory Ptashko
>
> +7 (916) 1489766
> grigory.ptashko at gmail.com
> facebook.com/GrigoryPtashko
>


More information about the kulla-dev mailing list