How do I uninstall the Java JDK in macOS? [closed]

You can get official oracle instruction to remove java from macOS here In your macOS terminal type this one by one sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Oracle/Java After that you can navigate to specific version of java that you intend to delete by using the following command: … Read more

Why does Grunt not add itself to the shell?

Since Grunt version 0.4 (which was released 1 or 2 weeks ago) you need to install the grunt command line tool globally (if needed, use sudo before the command): npm install -g grunt-cli In your project location you then install the latest grunt version: npm install grunt –save-dev Option –save-dev will save the npm config … Read more

Install and configure mod_rewrite for Apache 2 on Mac OS X for Zend Framework 2

To check that mod_rewrite and PHP are enabled, look at /etc/apache2/httpd.conf and ensure that these lines: LoadModule rewrite_module libexec/apache2/ LoadModule php5_module libexec/apache2/ are uncommented. Also ensure that AllowOverride is set to All within the <Directory “/Library/WebServer/Documents”> section. After making these changes, restart Apache with: sudo apachectl restart If you then put your project within the … Read more

xvfb-run on OS X

X11 is no longer included with OS X: X11 server and client libraries for OS X are available from the XQuartz project: I’m not sure if it includes all the other X goodies like Xvfb. In that case you could compile it yourself; with these options: –disable-xquartz –enable-xvfb –enable-xnest –enable-kdrive More info here: … Read more

How to enable C++17 on Mac?

On my 10.11 El Capitan, Xcode 7.3.1, clang has been updated to: Apple LLVM version 7.3.0 (clang-703.0.31) which is almost equivalent to llvm version 3.8. clang++ hasn’t -std=c++17 option, but -std=c++1z, working well at present, though only supporting some features of C++1z. For gcc, you can install a very new one by: brew install gcc … Read more