タグ

classとVERSIONに関するItisangoのブックマーク (2)

  • Runtime.Version (Java SE 16 & JDK 16)

    public static final class Runtime.Version extends Object implements Comparable<Runtime.Version> Java SE Platformの実装用のバージョン文字列の表現。 バージョン文字列は、任意にリリース前およびバージョン情報が続くバージョン番号で構成されます。 バージョン番号 「バージョン番号」、$VNUMは、ピリオド(U+002E)で区切られた要素の空ではないシーケンスです。 要素は、ゼロまたは先行ゼロのない符号なし整数です。 バージョン番号の最後の要素はゼロであってはなりません。 要素がインクリメントされると、それ以降の要素はすべて削除されます。 書式は次のとおりです。 [1-9][0-9]*((\.0)*\.[1-9][0-9]*)* シーケンスは任意の長さでも構いませんが、最初の4つの要素に

    Itisango
    Itisango 2021/09/12
    “「バージョン番号」、$VNUMは、ピリオド(U+002E)で区切られた要素の空ではないシーケンスです。”“バージョン番号の最後の要素はゼロであってはなりません。 書式は次のとおりです。 [1-9][0-9]*((\.0)*\.[1-9][0-9]*)*”
  • How do I specify a main class in the manifest of my generated jar file? - Web Tutorials - avajava.com

    In JavaSW, an executable jarW file specifies its main class in the MANIFEST.MF file in that jar file. For a mavenSW project that features "jar" packaging, we can specify the main class for the MANIFEST.MF file by specifying it in our pom.xml, as shown here: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ma

    How do I specify a main class in the manifest of my generated jar file? - Web Tutorials - avajava.com
    Itisango
    Itisango 2017/02/05
    XMLの構造に注目。この通りの構文でないと正しく動作しないので注意。#Maven のあほー!
  • 1