Stash fails to start on 64-bit Windows with error 'tc-native-1.dll: Can't load IA 32-bit .dll'
The following error is reported when starting up Stash on a 64-bit JVM on Windows on a 64-bit platform:
tc-native-1.dll: Can't load IA 32-bit .dll on a 64-bit platform
Stash ships with both the 32-bit and the 64-bit versions of tomcat.exe and tc-native-1.dll, but does not set up the correct versions at startup.
If you're using a 64-bit JVM to run Stash, you'll need to replace tomcat.exe and tc-native-1.dll with their 64-bit versions:
To switch to the 64-bit versions, please do the following before starting Stash:
cd <STASH-INST/bin> rename tomcat.exe tomcat.exe.x86 rename tc-native-1.dll tc-native-1.dll.x86 rename tomcat.exe.x64 tomcat.exe rename tc-native-1.dll.x64 tc-native-1.dll