在终端下运行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