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
{{ message }}
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
I've created a puppet-eclipse module to install eclipse with boxen. However, when starting eclipse i get the dialog from OSX to install Java, although java and javac is present in the terminal.
My guess is the missing ´JAVA_HOME` environment variable. Could you give me a hint to which directory this should be set?
The text was updated successfully, but these errors were encountered:
Hi there, I'm not sure if this solves your problem, but you can get the Java home by running /usr/libexec/java_home
in the terminal. This enables you to export it as an env var using export JAVA_HOME=$(/usr/libexec/java_home).
Could you help me understand how I should be using this. I'd assume that after including the java module in my boxen, that the JAVA_HOME env var would be setup, but it isn't.
Running this script, or manually adding this path to my shell profiles fixes that, I'm just wondering I should make that part of my manifest install, or if I'm missing something about the configuration of this module.
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
I've created a puppet-eclipse module to install eclipse with boxen. However, when starting eclipse i get the dialog from OSX to install Java, although
java
andjavac
is present in the terminal.My guess is the missing ´JAVA_HOME` environment variable. Could you give me a hint to which directory this should be set?
The text was updated successfully, but these errors were encountered: