Score:0

how can i check if java 1.4 installed in redhat is 32 or 64 bits?

ma flag

i have a redhat with this

[develop@xxxxxxxxxx ~]$ uname -a Linux xxxxxxxxxx 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

and i also have a java installed, with this information

[develop1@xxxxxxxxxx ~]$ java -version java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-50)

Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

how can i check if the java installed is 32 or 64 bits?

i have used "java -d32 -version" and "java -d64 -version" but both of them respond with the same information

in flag
Get the full path to Java via `which java` and then query the binary type by `file <path to java>`. Based on the copyright year 2006 and the fact that the amd64 architecture was first used 2003 the chance is very high that it is a 32 bit binary.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.