-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install 5.2.0 on Windows 10 professional #3276
Comments
Can you give us some more detail? e.g. the paths involved and any relevant error messages/logs? |
The following line, on Windows 10 doesn't work if the BASEDIR path is longer than 15 characters. %JAVACMD% %JAVA_OPTS% -Xms128m -Dfile.encoding=UTF-8 -Dlog4j.configurationFile="%BASEDIR%"/etc/log4j2.xml -Dexist.home="%BASEDIR%" -Dexist.configurationFile="%BASEDIR%"/etc/conf.xml -Djetty.home="%BASEDIR%" -Dexist.jetty.config="%BASEDIR%"/etc/jetty/standard.enabled-jetty-configs -classpath %CLASSPATH% -Dapp.name="launcher" -Dapp.repo="%REPO%" -Dapp.home="%BASEDIR%" -Dbasedir="%BASEDIR%" org.codehaus.mojo.appassembler.booter.AppassemblerBooter %CMD_LINE_ARGS% This is probably due to the length of the path in some jar file. I solved it by copying the installation folder into the root folder. |
@donzelch Did your BASEDIR path previously have spaces in it? |
No. It was G:\Extrasoft\existdb_5.2.0. After initializing the platform, I moved it to the original place and everything is working fine. I had previously activated the "long file names" option of Windows 10 because I know that long path into jar files often create problems when copying Eclipse based RCP applications. On Windows 7, using 7zip for moving a RCP application from one disk to another was quite mandatory. So may be, the problem is just with the length of the command itself. I haven't tried, for example, to rename the "launcher.bat" into "cmd.bat". Sometime Microsoft is keeping old interfaces for compatibility reasons. |
@donzelch not quite sure what we can do here. Windows does have a limitation on the command line length when executing from |
@donzelch Do you think that providing PowerShell alternatives to the .bat files would solve this problem? |
Negative, I wrote a PowerShell script using |
Launcher fails launching because a path or the command itself is too long.
Tried alternative installations : unable anyway to initialize any database.
The text was updated successfully, but these errors were encountered: