


Right-click the virtual machine and open settings. Click VM > Install VMWare Tools, you may see the following error message: Try to create a new virtual machine, you will see Apple Mac OS X:Įrror: Could not find component on update serverĪfter successfully booting your Mac OS X virtual machine, you need to install VMWare tools. If you are using VMWare Workstation 11, you need to download and install Unlocker 2. How to enable Mac OS X Guests on VMWare Workstation 11?īy default, VMWare Workstation 11 does not support Mac OS X. Here are the issues and corresponding solutions. When I upgraded my operating system from Windows 7 to Windows 10 and installed VMWare Workstation 11, I found my Mac OS X virtual machine couldn’t work. If a Windows developer wants to create apps for Mac OS, the most economical way is to use a virtual machine. That’s it! All credits should go to Neeme Praks and his answer on and more companies tend to release products for both Mac and Windows platforms. Run /usr/libexec/java_home -h to get more details on how to choose versions. To select a specific version you can simply execute Which selects the latest installed JDK version of the 1.7 branch. At the end we can simply execute the function using We also update the PATH to point to the bin directory of the newly found JAVA_HOME directory.

The -v argument tells java_home to return the path of the JDK with the supplied version, for example 1.7. Then it makes some clever use of /usr/libexec/java_home which is a command that lists installed JDK versions. What the script does is to first remove other JDK versions in the PATH so that they won’t interfere with our new JDK version. RemoveFromPath '/System/Library/Frameworks/amework/Home/bin'Įxport JAVA_HOME=`/usr/libexec/java_home -v PATH=$JAVA_HOME/bin:$PATHĮxport PATH=$(echo $PATH | sed -E -e "s :$1 " -e "s $1:? ") What you do is to edit your ~/.bash_profile and add the following:

After a lot of googling I finally found a simple solution that I’d like to share. I especially noticed this after I installed the JDK 8 early access preview which makes some of the tips that you find on various blogs online useless. Apple decided to remove the Java Preferences application in a software update and afterwards in has been difficult to change the JDK version on Mac OS X.
