I have IntelliJ Idea Ultimate installed on both Windows 8.1 & Ubuntu 16.04 on the same laptop, but different partitions. If I'm using Windows and set up the maven directory to the installed one on Windows's local disk C, it works, but after I'll restart the computer on Ubuntu, when entering IntelliJ I get a notification saying Maven directory is invalid, because it somehow remains the one from Windows, despide I also have Maven installed on Ubuntu on a separate Ubuntu partition. Of course I can set the path for the Maven's location on Ubuntu, but I don't want to do this all the time I'm switching operating systems.
I'm not sure, does these two IntelliJ's (the one from Windows & the other one from Ubuntu) communicates somehow? I'm not having problems using Tomcat, for instance, which I also have on both Windows & Ubuntu.
Invalid Maven home directory configured C:/apache-maven-3.5.2 Bundled maven 3.3.9 will be used. Configure Maven home.