Dear Developers,
I want to use MZMine 2 but am having trouble launching it. I have Windows 7
64-bit with JVM 1.6.
I get an error when I run the .bat file.
First, it was saying JAVA_COMMAND=Java is an invalid command.
I changed this to direct to the java executable:
*set JAVA_COMMAND=C:\Program Files (x86)\Java\jre1.6.0\bin\java *
Now I get an error that says: *'C:\Program' is not recognized as an
internal or external command. *
Also, I installed R and Java3D, but these applications are installed
under *C:\Program
Files* directory
where JVM 1.6 is installed under *C:\Program Files (x86*). Does this
matter?
Thanks, Andrew
Please take a look at my .bat file, pasted below:
*
@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=1024
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 Set R environment variables.
set R_HOME=C:\Program Files\R\R-2.15.0
set R_SHARE_DIR=%R_HOME%\share
set R_INCLUDE_DIR=%R_HOME%\include
set R_DOC_DIR=%R_HOME%\doc
set R_LIBS_USER=%USERPROFILE%\Documents\R\win-library\2.15
rem Include R DLLs in PATH.
set PATH=%PATH%;%R_HOME%\bin\i386
rem The directory holding the JRI shared library (libjri.so).
set JRI_LIB_PATH=%R_LIBS_USER%\rJava\jri\i386
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=C:\Program Files (x86)\Java\jre1.6.0\bin\java
rem It is not necessary to modify the following section
set LOGGING_CONFIG_FILE=conf/logging.properties
set JAVA_PARAMETERS=-XX:+UseParallelGC
-Djava.io.tmpdir=%TMP_FILE_DIRECTORY%
-Djava.util.logging.config.file=%LOGGING_CONFIG_FILE% -Xms%HEAP_SIZE%m
-Xmx%HEAP_SIZE%m -Djava.library.path="%JRI_LIB_PATH%"
set CLASS_PATH=lib\MZmine-2.8.jar
set MAIN_CLASS=net.sf.mzmine.main.MZmineCore
rem Show java version, in case a problem occurs
%JAVA_COMMAND% -version
rem This command starts the Java Virtual Machine
%JAVA_COMMAND% %JAVA_PARAMETERS% -classpath %CLASS_PATH% %MAIN_CLASS% %*
rem If there was an error, give the user chance to see it
IF ERRORLEVEL 1 pause*
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mzmine-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mzmine-devel