"-Xmx512M -Xms64M -Dfile.encoding=UTF-8" I thought there might have been a space but not.
-----Original Message----- From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Thursday, November 12, 2009 3:42 PM To: Kantargis, Susan Cc: dspace-tech@lists.sourceforge.net Tech; Zaleski, Joseph; Swisher, G. Allan Subject: Re: [Dspace-tech] help windows installation Hi Sue, > E:\dspace\bin>dsrun org.dspace.administer.CreateAdministrator > Using DSpace installation in: E:\dspace > -Xms64M was unexpected at this time. > Environment Variables: > > JAVA_HOME C:\Program Files\Java\jdk1.6.0_13 Java_OPTS "-Xmx512M - > Xms64M -Dfile.encoding=UTF-8" Are those two different environment variables that are on the same line, or has your system somehow put them together? It looks like your JAVA_HOME or JAVA_OPTS is upsetting the dsrun.bat script. You have a couple of options, either hardwire the full path to your java executable and explicitely set JAVA_OPTS in dsrun.bat so that is doesn't use the environment variable, or remove the JAVA_HOME / JAVA_OPTS options from your environment variable and put them in the startup script of whatever Java application it is that needs it. Unless you know what is making use of those options, it might be safer to do the first of these. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ Please consider the environment before printing this e-mail. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech