Bitbucket Server fails to start on 64-bit Windows with error 'tc-native-1.dll: Can't load IA 32-bit .dll'
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
The following error is reported when starting up Bitbucket Server on a 64-bit JVM on Windows on a 64-bit platform:
1
tc-native-1.dll: Can't load IA 32-bit .dll on a 64-bit platform
Cause
Bitbucket Server 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.
Workaround
If you're using a 64-bit JVM to run Bitbucket Server, you'll need to replace tomcat.exe and tc-native-1.dll with their 64-bit versions:
32-bit | 64-bit |
---|---|
|
|
|
|
To switch to the 64-bit versions, please do the following before starting Bitbucket Server:
1
2
3
4
5
cd <BSERV-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
Was this helpful?