Tips &Tricks

0

[Resolved] unsupported major.minor version 52.0

This is a generic issue. I solved it using the following steps. Uninstall Java completely sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from...

0

path.join in nodejs

path.join() does two things : Joins all given path segments together using the platform specific separator as a delimiter Normalizes the resulting path path.join(‘src/’, ‘js/Router.jsx’); ‘src/js/Router.jsx’ on OSX and Linux ‘srcjsRouter.jsx’ on Windows Here,...