A Guide For building Appinventor In both Windows and Linux!

Something is wrong with your PATH's. Post a screenshot of your PATH settings like this