Let’s say you started your plugin on MacOs with atlas-run and got the following error:
The error says that file tools.jar was not found. What happened?
The problem is that your default Java Home is wrong. Most likely, you reference JRE instead of JDK.
To fix this problem first find all installed jdks with the following command:
/usr/libexec/java_home -V | grep jdk
Here is the output on my computer:
Choose the JDK you want to be by default (in my case /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home)
Now open the .bash_profile file in your /home folder and enter this line:
Save the file and run terminal again.
Atlas-run should work now.