The scala package I’m writing depends on jamm which requires a flag like the following to be set on the JVM:
-javaagent:"~/.ivy2/cache/com.github.jbellis/jamm/jars/jamm-0.3.3.jar"
I tried setting the JAVA_OPTS
environment variable through the CircleCI interface but I get the following error during the sbt:compile
phase:
Error opening zip file or JAR manifest missing : "~/.ivy2/cache/com.github.jbellis/jamm/jars/jamm-0.3.3.jar"
The good thing is that the flag is being read, but I’m not sure how to figure out what place I should be pointing it to. I’m restoring my ~/.ivy2
directory from cache, and my build file has compiled on previous runs so it should be in there.