Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: jvm version

  1. #1
    Junior Member
    Join Date
    Oct 2024
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default jvm version

    Hi, when I run a command to check jvm version, it returns Java runtime version 1.8.0_382-b05.

    Is this a higher runtime than JDK8u162? I'm kinda presuming the command line return is the same as "JDK8u382"? thank you very much.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,170
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: jvm version

    when I run a command
    What is the command you run?

    Here is the console for 2 commands on my Win10 PC:
    Microsoft Windows [Version 10.0.19045.5073]
    (c) Microsoft Corporation. All rights reserved.

    C:\Users\Norm>java -version
    java version "1.8.0_291"
    Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
    Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)

    C:\Users\Norm>javac -version
    javac 1.8.0_60

    C:\Users\Norm>
    It shows I have an older version of the JDK
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Feb 2025
    Location
    texas
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: jvm version

    The version 1.8.0_382-b05 you see refers to Java 8 (JDK 8), specifically to update 382. So this is a higher version than JDK 8u162 (which corresponds to Java 8 update 162).

    To clarify:

    1.8.0_162 means Java 8 update 162.
    1.8.0_382 means Java 8 update 382.
    Both are from the Java 8 family, but 382 is a later release than 162. So yes, 1.8.0_382 is a higher runtime version than 1.8.0_162, but it’s still part of the JDK 8 series.

    The JDK versions are separate from runtime (JRE), but since you're seeing the runtime version here, it's confirming the version of the JRE used by the system. The "b05" part at the end refers to the build number of the release, which can differ between updates, but the key here is the update number (_382 vs _162).

    Hope that clears things up! Let me know if you need more details!

Similar Threads

  1. google chrome last version 4th Feb
    By asillam in forum What's Wrong With My Code?
    Replies: 0
    Last Post: February 6th, 2020, 08:58 AM
  2. My own version of swing?
    By sci4me in forum AWT / Java Swing
    Replies: 3
    Last Post: August 9th, 2013, 07:23 PM
  3. Java Version
    By mohdrazeed in forum Java Theory & Questions
    Replies: 1
    Last Post: July 18th, 2012, 04:28 PM
  4. Java Version
    By mohdrazeed in forum Object Oriented Programming
    Replies: 1
    Last Post: July 16th, 2012, 09:58 AM
  5. Version issue? Or what else can it be?
    By SxN in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 17th, 2011, 05:53 PM