【已解决】supports target architecture: AMD64 (锟斤拷 unsupported)

在使用GraalVM编译项目为可执行程序时,抛出的这个错误。如图:

问题解决

这个问题的原因是因为Visual Studio的语言设置为中文导致的,在Visual Studio Installer中进行修改语言就可以了

改为英语,然后保存,再重新打开cmd窗口编译就可以了

参考内容

GitHub上也有这个问题的描述:https://github.com/oracle/graal/issues/3122

# Java  GraalVM 

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×