Spark wont start after another application puts a lib directory under Java

We use spark a lot. Now we bought another application that uses Java and it installs a directory called lib under Windows/Sun/Java/. After it does that Spark wont start. If we rename the directory Spark starts. Does anyone know why it cares about this?

perhaps try using the spark version that comes with an embeded jre… this will prevent any “werirdness” when using shared resources…

http://www.igniterealtime.org/downloadServlet?filename=spark/spark_2_6_3.exe

or beta/nightly build:

http://bamboo.igniterealtime.org/artifact/SPARK-INSTALL4J/JOB1/build-604/Install 4j/spark_2_6_3_12555.exe

This may not help if that other application is installing some variant of java 6, and we just found out recently that upon starting Spark is searching for java 6 in the system and tries to use it. Probably this “lib” folder is registered as environment variable in Windows and Spark finds it. You can try looking in Computer > Properties > Advanced system settings > Environment variables > System variables. You may found this “lib” folder added there. You can try removing it, but this will probably break your new application.