In Mac OS X, the following error is reported: the simple cause of java. io. UnixFileSystem. createFileExclusively (Native Method): oscriticalmethod

Source: Internet
Author: User
Tags install mac os x macbook

In Mac OS X, the following error is reported: the simple cause of java. io. UnixFileSystem. createFileExclusively (Native Method): oscriticalmethod

This blog is too simple! Keep a record of the problem that may be encountered by other friends.

Today, I put a Java project on Windows and run it on Mac OS x. I thought it should be very simple. The result is still reported:

Exception in thread "main" java. io. IOException: No such file or directory

At java. io. UnixFileSystem. createFileExclusively (Native Method)

In desperation, it was discovered during debugging that many path separators in Windows were originally written as \. It seems that Java should be rigorous and unified to use/in the future.


The advantages and disadvantages of Linux and Mac OS X Lion on Windows 7

Window s helps you do everything you need.
Linux is suitable for people who like to work on their own, or Windows viruses (common in China are Windows viruses.
Mac is dazzling, and * is dedicated. Of course, his functions are also very powerful.

How to reinstall Mac OS X

Mac OS X reinstallation tutorial. 1. When the MacBook Air is closed, press the Command and R buttons to open the key, and then press the key in the upper right corner (remember to continue to press the Command + R key at this time ). 2. After entering this interface, you can open all the buttons. There are four options: restore From Time Machine Backup is From your past Backup to Time Machine image files back to your computer, Reinstall Mac OS x as the name suggests is to Reinstall Mac OS X Lion, Get Help Online is From Online capture help files to learn about the reinstallation steps and frequently asked questions. The last Disk Utility is used to manage hard disks, this includes splitting the magnetic area and formatting the disk area. 3. In the upper-right corner of the screen, you can connect to wi-fi. We recommend that you connect to it to ensure smooth download and installation. 4. Click "Get Help Online" to view all the information and steps of the restore system. 5. The most interesting thing is that it is actually a full version of Safari, where you can browse the Web page online! 6. If you click Restore From Time Machine Backup, you can access this interface. Remember to connect the external hard drive used for Time Machine backup to the MacBook Air, and then click "Continue 」. 7. If you have connected to a hard disk, you can see the previous backup files on this page. If you have selected the file, click "Continue" to restore the MacBook Air to the backup. Since Time Machine is not used, we will not describe this function here. 8. Some friends may want to split the SSD solid state drive of the MacBook Air into two or even several Disk zones. In fact, you can press Disk Utility before reinstalling the Mac OS X Lion. This screen is displayed. You can click the desired disk. 9. Click "Partitions" and pull the position in the lower right corner of the left-side white section to adjust the Macintosh HD section. Then, click the unspecified part on the right and create a new magnetic area. After Mac OS X Lion is installed, you can perform this operation at any time in Disk Utility in Utilities. 10. Click "Reinstall Mac OS X". Then, authentication is performed with the Apple Server before installation. Remember to connect to the Internet at this time, click Continue. 11. You will see a piece of Agreement. Click "Agree" and then click "Agree" on the top. 12. Select the disk to which you want to install Mac OS X Lion. 13. Start reinstalling. Wait! This download process takes about 1 hour (in the case of Wi-Fi connections ). 14. Now we have finished most of the work, and the system will start again. The familiar Apple logo has come out again. 15. start installing Mac OS X (this step takes about 30 minutes ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.