月面では14日間続く灼熱の昼と、14日間の極寒の夜が訪れる。月面の昼は110度、夜はマイナス170度になるとされ、SLIMの設計範囲を超えた非常に厳しい温度環境だ。
⇧ 設計範囲を超えた、って部分がよく分からないんだけど、意図的なのかしら、何かモヤる...
快挙なんだとは思いますが...
JDK(Java Development Kit)に同梱されているjrunscriptでJDBC接続の確認ができるらしい(非推奨)
何やら、
⇧ jrunscriptというもので、JDBC接続の動作確認ができるそうな。
⇧ Javaの標準APIの「java.sql.DriverManager」でもJDBC接続の確認できるそうな。
Verticaが、
⇧「java.sql.DriverManager」を使っているから、「java.sql.DriverManager」でもJDBC接続の確認ができるのはありがたい。
What is jrunscript ?
⇧ 試験的なツールらしいですと。
⇧ Oracle JDKでは用意されているのは分かりましたと。
OpenJDKはと言うと、
⇧ 一応、紹介はされているのだけど、
⇧ 更新するにはコードの所有者を探す必要がある、って、メンテナンスされていない感じなんかな?
一応、
⇧ AdoptiumのOpenJDK 8(Linux版)をダウンロードして確認してみた感じ、
⇧ jrunscriptが同梱されていた。
ちなみに、Linux版のOpenJDKをWindowsで7-zipで展開したら、シンボリックがどうのこうのってエラーが出たので、Linux版は、Linux環境で展開(解凍)した方が良さそう。
Windowsでもtar.exeが存在するので、tarコマンドが使えるっぽいけど、やはり、Linux環境で展開(解凍)するのがベストですかね。
とりあえず、AdoptiumのOpenJDK 8(Linux版)では、jrunscriptの存在は確認できました。
悲報...
Description
Deprecate the Nashorn JavaScript script engine and APIs, and the jjs tool, with the intent to remove them in a future release ([JEP 335](http://openjdk.java.net/jeps/335)).
The Nashorn JavaScript Engine implementation, the APIs and the `jjs` shell tool have been deprecated and might be removed in a future release. Code that uses classes and interfaces from `jdk.nashorn.api.scripting` and `jdk.nashorn.api.tree` packages will get a deprecation warning from `javac`.
The Nashorn engine (when used by `javax.script` API or `jrunscript` tool) as well as `jjs` shell tool will print a warning message about deprecation. To disable this runtime warning message, users can include the new Nashorn option, `--no-deprecation-warning`. This might be useful for compatibility scripts that depend on exact output (such as, to avoid the warning breaking their expected exact output).
⇧ 非推奨になっていた...
Nashornエンジンは、JEP 335の一部としてJDK 11で非推奨となり、JEP 372の一部としてJDK15から削除されました。詳細は、NashornからGraalVM JavaScriptへの移行ガイドを参照してください。
https://developer.oracle.com/ja/learn/technical-articles/nashorn-javascript-part2
⇧ なるほど、JDK 15以上のバージョンを使っている場合は、jrunscriptがJDKに同梱されていないってことになるのか...
Nashornの非推奨化は「JEP 335: Deprecate the Nashorn JavaScript Engine」として提案された。非推奨化の理由としては、Nashornの実装が最新のJavaScript仕様をサポートできていない点がある。NashornがサポートしているJavaScript仕様は2015年にリリースされたECMAScript 6であり、最新のECMAScript 2020やECMAScript 2019などとは機能的に大きな差がある。とはいえ、Nashornの体制ではもう現在のJavaScriptの進化を追ってはいけないという判断だ。
イマドキのJava徹底入門(15) JavaScriptエンジンをNashornからGraalJSに移行する(その2) | TECH+(テックプラス)
⇧ 要するにメンテナンスのコストが大き過ぎるってことなんですかね...
毎度モヤモヤ感が半端ない...
今回はこのへんで。