Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7762201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:20:10+00:00 2026-06-01T14:20:10+00:00

Is there a way to determine the JVM version (32-bit or 64-bit) in C#?

  • 0

Is there a way to determine the JVM version (32-bit or 64-bit) in C#? I found the following post with a possible way to do this: http://forums.devshed.com/net-development-87/c-net-check-java-version-562395.html
It suggests to parse the string returned by the java -version command and look for the version. Is it safe to assume that the following is from the 32-bit version?

java version “1.6.0_24”
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

On a device running a 64-bit JVM I do see the 64-bit word in place of the “Client VM”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T14:20:12+00:00Added an answer on June 1, 2026 at 2:20 pm

    The method that you found is appropriate, but you need to remember that a user may have multiple different JVM versions installed, including (on a 64-bit machine) both 32 and 64 bit VMs. The one that runs when you run Java.exe is just the last one on the path.

    If you don’t see 64-bit in the string, it is probably safe to assume a 32 bit VM. See http://java.sun.com/j2se/versioning_naming.html for the naming convention.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to determine an MP3 file's encoded bit depth (ie 8,
I'm wondering if there's a way to determine which version of Linux I'm running
I'm trying to figure out if there's a way to determine the JVM startup
Is there any way to determine which version of Firebird SQL is running? Using
Is there a way to determine what version of Ruby is running from within
Is there a way to determine the original date/time of a Wordpress blog post?
I have an ActionResult at http://example/image.png Is there a way to determine if the
Is there a way to determine how many capture groups there are in a
Is there a way to determine who is logged on to a particular (remote)
Is there a way to determine the number of users that have active sessions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.