Javaでフリーウェア作りに挑戦してみよう、というこのコーナー。第1回目は、画面キャプチャー・プログラムを作ってみましょう。 イメージを表示するためのコンポーネント(JPanel)クラス。BufferedImageフィールドを持っており、これをpaintメソッドで表示 ...
We have several Spring boot applications running on windows servers. These applications start as an executable jar. Since the 3.2.0 release we noticed the startup times of these applications are a lot ...
Javaで開発されたプログラムは、複数のクラスファイルの集合体から構成されています。PJでは、別の開発者にプログラムを渡す、ないしプログラムを本番環境へリリースする際のファイルの受け漏れなどのリスクを回避するためにも、ファイル一式を1つに ...
I have maven project with Spring Boot and Cucumber with JUnit5. Test works fine with maven and from intellij. But when I create executable test jar it fails to find ...
ダブルクリックで動く簡単なアプリケーションを作ってみましょう。 これでプログラムそのものはだいたいわかりました。コンパイルし動かして動作も確認できたはずですね。では、今回のプログラムを「ダブルクリックして実行できるプログラムファイル ...
Javaプログラムを公開する場合には、通常JAR(Java ARchive)を形式を利用するが、このJAR形式のファイルをネットワーク上で効率良く転送するための圧縮形式がある。それがJSR 200で定められている「Pack200」だ。Pack200はJARファイルのダウンロードサイズを減少さ ...
I'm taking an introductory Java programming class right now and I'm looking for a way to compile, or bundle my program into an executable file - similar to how Visual Studio created an executable when ...
JEP 238: Multi-Release JAR Files extends the JAR file format to allow multiple, Java-release-specific versions of class/resource files to coexist in the same archive. This upgrade makes it easier for ...