<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mike_neck</author_name>
  <author_url>https://blog.hatena.ne.jp/mike_neck/</author_url>
  <blog_title>mike-neckのブログ</blog_title>
  <blog_url>https://mike-neck.hatenadiary.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Java11 で取り込まれている JEP-330 すでにきしださんがブログにしている古い機能ですが、自分用のメモ。 (『古い機能』という表現はその手の界隈に人達への忖度表現) TL;DR ってなんだ？？？ Java 11 にとりこまれた JEP-330 は 1つの java ファイルを java コマンドで実行できる仕組み java という拡張子でなければ、ファイルの先頭に shebang をつけて実行可能ファイルとして実行できる 内部的には javac に依存しているので、カスタムランタイムなどでは実行できない 外部の jar も利用できる shebang に classpath の指定をす…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmike-neck.hatenadiary.com%2Fentry%2F2018%2F12%2F10%2F063000&quot; title=&quot; JEP-330 Single-FIle Source-Code Programs って何？ Java ファイルが java コマンドで実行できるってホント？！ shebang でどう指定するの？調べてみた！ - mike-neckのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mike_neck/20181019/20181019112748.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-10 06:30:00</published>
  <title> JEP-330 Single-FIle Source-Code Programs って何？ Java ファイルが java コマンドで実行できるってホント？！ shebang でどう指定するの？調べてみた！</title>
  <type>rich</type>
  <url>https://mike-neck.hatenadiary.com/entry/2018/12/10/063000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
