It's all about the answers!

Ask a question

Is there an scm command that will show whether I am using the 32 or 64 bit version of the SCM tools


Karl Weinert (2.0k52736) | asked Sep 09 '13, 11:20 a.m.
JAZZ DEVELOPER
edited Sep 11 '13, 7:16 a.m.
Is there any scm  command that will show whether or not the version of scm that I have installed is 64 or 32 bit?
I'm using Linux so I have a couple workarounds but it would be nice to find out on Windows as well.

scm -v for 32 & 64 bit versions both return
com.ibm.team.filesystem.cli.tools, version 3.1.200.v20120924_1445

ls -l shows different size for scm
64 bit:
-rwxr-xr-x 1 root root 71162 2011-02-02 08:58 scm
32 bit
-rwxr-xr-x 1 root root 63001 2013-02-15 02:43 scm

And I can use "file" command.
file scm
 ELF 32-bit LSB executable, Intel 80386, version 1
 ELF 64-bit LSB executable, x86-64, version 1

Accepted answer


permanent link
Marek Siekierski (817510) | answered Sep 09 '13, 12:51 p.m.
Karl,

I'm not sure... you can see the version of the launcher in the scm.ini file in the eclipse directory:

--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
Karl Weinert selected this answer as the correct answer

Comments
Karl Weinert commented Sep 09 '13, 1:15 p.m.
JAZZ DEVELOPER

Good point, and there seem to be more 64 bit jar files with the 64 bit version of scm

64 bit scm$ lsĀ  plugins/ |grep _64
org.eclipse.core.filesystem.linux.x86_64_1.2.0.v20100505-1235.jar
org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.2.R36x_v20101019_1345
org.eclipse.swt.gtk.linux.x86_64_3.6.3.v3659f.jar

32 bit scm$ ls plugins/ |grep _64
org.eclipse.core.filesystem.linux.x86_64_1.2.0.v20100505-1235.jar

Your answer


Register or to post your answer.