• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to know 32 or 64 bit application  RSS feed

 
shashikant rajak
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to know whether a core java based application is a 32 bit or 64 bit.

 
Campbell Ritchie
Marshal
Posts: 56533
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even though you signed on some time ago, this is your first post, so welcome to the Ranch

There is no such thing as a 32-bit or a 64-bit Java™ application. All Java™ applications can be run on 32-bit or 64-bit systems, so your question doesn't have an answer. (At least I think it doesn't.)
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are 32 and 64 bit versions of the JVM. You can probably find out which one you are using with the System.getProperty method. See the javadoc for the System.getProperties method to find out what properties are available. However, as Campbell said, there is no such thing as a 32 or 64 bit java application (unless it contains some platform specific stuff using JNI). All java class files should run on any version of the JVM.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!