JupyterHub does not pass all of its environment variables to the single-user servers, because it is likely to include hub-level credentials that the user shouldn’t have access to. For this reason, there is a c.Spawner.env_keep
configurable that is a whitelist of environment variables that should be passed down. You can specify that JAVA_HOME should be added with:
c.Spawner.env_keep.append('JAVA_HOME')
in your jupyterhub_config.py
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/4fe6c0b2-5c54-4d59-97a7-5c28470b0f3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.