continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Gaylard (JIRA)" <>
Subject [jira] Commented: (CONTINUUM-231) Spaces in PATH env variable stop plexus.bat from running
Date Fri, 15 Jul 2005 04:06:57 GMT
    [ ] 

Mark Gaylard commented on CONTINUUM-231:

Also - on a slightly related note, the getting started page says you run plexus with the command

 bin/plexus.bat ..\conf\plexus.xml

this should just be


> Spaces in PATH env variable stop plexus.bat from running
> --------------------------------------------------------
>          Key: CONTINUUM-231
>          URL:
>      Project: Continuum
>         Type: Bug
>     Versions: 1.0-alpha-3
>  Environment: Windows XP
>     Reporter: Mark Gaylard

> If the PATH environment variable has spaces in it, you get NoClassDefFound exceptions
when running plexus.bat.
> The solution is to put quotes around the -Dplexus.system.path=%PATH% segment of the startup
> ie: 
> %PLEXUS_JAVA_EXE% %PLEXUS_OPTS% -classpath %PLEXUS_HOME%\core\boot\classworlds-*.jar
"-Dclassworlds.conf=%PLEXUS_HOME%\conf\classworlds.conf" -Dplexus.core=%PLEXUS_CORE% -Dplexus.system.path=%PATH% -Dplexus.home=%PLEXUS_HOME% org.codehaus.classworlds.Launcher
> becomes
> %PLEXUS_JAVA_EXE% %PLEXUS_OPTS% -classpath %PLEXUS_HOME%\core\boot\classworlds-*.jar
"-Dclassworlds.conf=%PLEXUS_HOME%\conf\classworlds.conf" -Dplexus.core=%PLEXUS_CORE% "-Dplexus.system.path=%PATH%" -Dplexus.home=%PLEXUS_HOME% org.codehaus.classworlds.Launcher

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message