Mac安装JetBrains PyCharm 2025.2.4绿色版过程记录

1、下载

此处内容需要 回复 后才能查看

2、执行命令

# 关闭「安全与隐私」里的 “允许从以下位置下载的应用” 限制
sudo spctl --master-disable
# 删除指定文件 / 文件夹的扩展属性
xattr -cr /Applications/PyCharm.app 

3、执行Generate工具生成key

接下来主要记录Generate出现的问题:

/Users/用户/Data/JetBCrack/Generate Key: line 10: ./jdk/Contents/Home/bin/java: Bad CPU type in executable
The license has been generated and copied to the file (key.txt).
If the following message appears:
-bash: ./jdk/Contents/Home/bin/java: Bad CPU type in executable
You can safely ignore this message. Open key.txt to ensure it contains a valid license, then proceed with activation.
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[进程已完成]

原因在于:运行的 ./jdk/Contents/Home/bin/java 可执行文件的CPU 架构与当前 Mac 的处理器架构不匹配(比如 Java 程序是 x86_64 架构,但你的 Mac 是 Apple Silicon(M1/M2/M3 等)ARM 架构)。

解决步骤如下:

此处内容需要 回复 后才能查看

 

THE END
分享
二维码
打赏
海报
Mac安装JetBrains PyCharm 2025.2.4绿色版过程记录
1、下载 此处内容需要 回复 后才能查看 2、执行命令 # 关闭「安全与隐私」里的 “允许从以下位置下载的应用” 限制 sudo spctl --master-disable # 删除指定文……
<<上一篇
下一篇>>