Solution-in Mac systems, Eclipse cannot import projects with Chinese paths. maceclipse
1. Modify eclipse. app/Contents/InfO. plist, search
<key>CFBundleExecutable<key>
Add the following code above
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>LSEnvironment</key> <dict> <key>JAVA_TOOL_OPTIONS</key> <string>-Dfile.encoding=UTF-8</string> <key>LANG</key> <string>zh_CN.UTF-8</string> </dict> <key>CFBundleExecutable<key>
2. Modify eclipse. app/Contents/MacOS/eclipse. INi, add-Dfile. encoding = UTF-8 in the last row
3. Close eclipse, restart and exit
4. Open the command terminal and execute the following command:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /Applications/eclipse/eclipse.app
5. Restart Eclipse
Can eclipse on mac OS x be imported into projects created on windows?
Yes, no problem. As long as the project files are all in and all are projects created by eclipse.
In eclipse, I imported a project, but all the jar package paths for storing the class library are incorrect. How can I point it to the correct path,
You just need to re-import these packages in your path! Or import the package you need from outside!