Dear MZmine Development Representative,

I'm having trouble implementing 64-bit mode on my Windows 7 machine---can't get the batch file (at end of message) to execute.
Two questions: the 1st concerns setting environmental variables, and second regards insert command line expressions for path and classpath to override environmental variables.

How I set the path to the java command for the 64-bit JVM? My location is typical: C:\Program Files\Java\jdk1.6.0_23\bin

My Java user variable is: Java Its value is: C:\Program Files\Java\jdk1.6.0_23\bin   The CLASSPATH is:  .;C:\ProgramFiles(x86)\Java\jre6\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.6.0_23\lib

Is this the problem? Combining a 32-bit CLASSPATH with one for the 64-bit version? Can't I override it with a command line command in the batch file?

How would I write in the path and classpath commands? My syntax is not working..

Thanks,
Sam

ps do I need "set USE_64_BIT=-d64" ?

@echo off

rem The HEAP_SIZE variable line defines the Java heap size in MB. 
rem That is the total amount of memory available to MZmine 2.
rem Please adjust according to the amount of memory of your computer.
rem Maximum value on a 32-bit Windows system is about 1300. 
set HEAP_SIZE=2048

rem If you have a 64-bit CPU, 64-bit OS and 64-bit JVM installed, you 
rem can run MZmine 2 in 64-bit mode and increase the HEAP_SIZE above 
rem the limitations of 32-bit platform. In that case, please set the 
rem value of USE_64_BIT parameter to "-d64" (without quotes).
set USE_64_BIT=-d64

rem The TMP_FILE_DIRECTORY parameter defines the location where temporary 
rem files (parsed raw data) will be placed. Default is %TEMP%, which 
rem represents the system temporary directory.
set TMP_FILE_DIRECTORY=%TEMP%

rem It is usually not necessary to modify the JAVA_COMMAND parameter, but 
rem if you like to run a specific Java Virtual Machine, you may set the 
rem path to the java command of that JVM
set JAVA_COMMAND=java


rem It is not necessary to modify the following section
set LOGGING_CONFIG_FILE=conf/logging.properties
set JAVA_PARAMETERS=%USE_64_BIT% -XX:+UseParallelGC -Djava.io.tmpdir=%TMP_FILE_DIRECTORY% -Djava.util.logging.config.file=%LOGGING_CONFIG_FILE% -Xms%HEAP_SIZE%m -Xmx%HEAP_SIZE%m
set CLASS_PATH=MZmine2.jar
set MAIN_CLASS=net.sf.mzmine.main.mzmineclient.MZmineClient 

rem This command starts the Java Virtual Machine
%JAVA_COMMAND% %JAVA_PARAMETERS% -classpath %CLASS_PATH% %MAIN_CLASS% 



-- 
Samuel E. Bennett, Ph.D.
Assistant Professor, Sr. Res.
Department of Environmental &
      Molecular Toxicology
2750 SW Campus Way, ALS1007
Oregon State University
Corvallis OR 97331-7301
541-737-1797
[email protected]


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Mzmine-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mzmine-devel

Reply via email to