View Single Post
Old 05-10-2012, 05:48 PM   #23
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,542
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
You could use the PROCESSOR_ARCHITECTURE variable to see if this is 64 bit or 32 bit OS; AMD64 or IX86.

The comments output by the batch file are a bit misleading...

On a 64 bit Windows, 32 bit Java is in %ProgramFiles(x86)%\Java\ and 64 bit Java in %ProgramFiles%\Java\

I will check a 32 bit machine later.
PeterT is offline   Reply With Quote