![]() When invoking the java -fullversion command, the result also includes the build number, a level of detail not needed by most users. So, JDK 7 update 4, or JDK 7u4, will have the version string "1.7.0_4". Oracle periodically makes updates available and, when an update occurs, the version string will also include the update version number. javac -source 1.7 (is an alias for javac -source 7).java -fullversion (returns java full version "1.7.0-bxx").java -version (among other info, returns java version "1.7.0").Here are some examples where the version string is used: In JDK 7 and JRE 7, the version strings are 1.7 and 1.7.0. Version strings have the form 1.x, or 1.x.0, where x is the product version number. This version string is usually only seen by programs which query the runtime environment, or by users who invoke command line tools. Some of Oracle's products expose a version string which is separate from, but related to, the version number. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |