You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before that, I used jenv to manage multiple Java versions, but when I used spark, I found that spark couldn't run.
CLI reports an error as follows:
/usr/local/spark/bin/spark-class: line 99: /Users/jayceechow/.jenv/versions/system/bin/java: No such file or directory
/usr/local/spark/bin/spark-class: line 99: exec: /Users/jayceechow/.jenv/versions/system/bin/java: cannot execute: No such file or directory
I guess this may be caused by jenv, so I uninstalled jenv and deleted the related content of .zshrc, and now spark is running well.
I think jenv is great. I hope it can be solved.
The text was updated successfully, but these errors were encountered:
This is a problem when using system as the version for java. In that case the export plugin erroneously sets JAVA_HOME to $JENV_ROOT/versions/system which does not exist.
#422 should resolve this - once merge in you would then be able to set JAVA_HOME for spark to pick up. e.g.
jenv shell 17
# do some stuff
jenv shell system
export JAVA_HOME=/path/to/java/home
spark ...
Alternatively setting an explicit version should work correctly e.g.
I'm a beginner in Data Science.
Before that, I used jenv to manage multiple Java versions, but when I used spark, I found that spark couldn't run.
CLI reports an error as follows:
I guess this may be caused by jenv, so I uninstalled jenv and deleted the related content of .zshrc, and now spark is running well.
I think jenv is great. I hope it can be solved.
The text was updated successfully, but these errors were encountered: