在终端下运行Java时才发现报这个错:GetHostUUIDString: unable to determine UUID for host. Error: 35
其实比较简单,在/Library/Preferences/SystemConfiguration and edit NetworkInterfaces.plist的 array段里添加802.11段即可:
关键内容: <dict> <key>BSD Name</key> <string>en3</string> <key>IOBuiltin</key> <false/> <key>IOInterfaceType</key> <integer>6</integer> <key>IOInterfaceUnit</key> <integer>3</integer> <key>IOLocation</key> <string></string> <key>IOMACAddress</key> <data> ABbPoF5V </data> <key>IOPathMatch</key> <string>IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/P0P3@1C,2/ IOPCI2PCIBridge/pci14e4,4311@0/AirPort_Brcm43xx/IO80211Interface</string> <key>SCNetworkInterfaceType</key> <string>IEEE80211</string> </dict>
参考链接:http://forum.netkas.org/index.php/topic,83.0.html
本文介绍了解决在终端运行Java时出现的GetHostUUIDString错误的方法。通过在NetworkInterfaces.plist文件中添加特定的802.11配置段,可以解决此问题并使Java正常运行。
763

被折叠的 条评论
为什么被折叠?



