java - mac 使用源码包jdk
阿神
阿神 2017-04-18 10:56:52
0
1
605

今天想在mac下面用jdk的源码包安装java环境,结果报这个错误,不知道是啥原因,详情请看图

阿神
阿神

闭关修行中......

reply all(1)
刘奇

Run file ./java 查看文件类型,Mac上的可执行文件一般是 Mach-O 64-bit executable x86_64 或者 Mach-O executable i386.

> file $(which java)
/usr/bin/java: Mach-O universal binary with 2 architectures
/usr/bin/java (for architecture i386):    Mach-O executable i386
/usr/bin/java (for architecture x86_64):    Mach-O 64-bit executable x86_64
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template