문제

Is there a Java equivalent of .NET's System.Version class? How do I say this in Java?

Version myVersion = new Version(2, 1);

올바른 솔루션이 없습니다

다른 팁

To get a system/modules version e.g. String.class.getPackage().getImplementationVersion()

If you want to specify your own version, create a Manifest.txt file to be added to your jar-file as in this tutorial

See also the javadoc for Package

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top