Author: ruschein
Date: 2010-06-01 16:06:19 -0700 (Tue, 01 Jun 2010)
New Revision: 20396

Modified:
   cytoscape/trunk/resources/bin/gen_vmoptions.bat
Log:
New attempt.

Modified: cytoscape/trunk/resources/bin/gen_vmoptions.bat
===================================================================
--- cytoscape/trunk/resources/bin/gen_vmoptions.bat     2010-06-01 22:59:35 UTC 
(rev 20395)
+++ cytoscape/trunk/resources/bin/gen_vmoptions.bat     2010-06-01 23:06:19 UTC 
(rev 20396)
@@ -3,8 +3,10 @@
 :: Generates the Cytoscape.vmoptions file based on whether
 :: we're dealing with a 32 bit or 64 bit JVM.
 
-java -version 2>&1 | FINDSTR /I 64-Bit > NUL:
-IF NOT %errorlevel% == 0 GOTO 32bit 
+java -version 2>&1 | FINDSTR /I 64-Bit > %TMP%\MATCH.TXT
+IF /F %%A in ('DIR %TMP%\MATCH.TXT') DO (
+       IF %%~zA LSS 1 GOTO 32bit
+)
 
 
 :64bit

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to