Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prestodb JAVA_HOME configuration. #882

Closed
jitendra200890 opened this issue Nov 28, 2013 · 4 comments
Closed

Prestodb JAVA_HOME configuration. #882

jitendra200890 opened this issue Nov 28, 2013 · 4 comments
Assignees

Comments

@jitendra200890
Copy link

Since presto only run on jdk1.7 and it's does not have any env conf file, I wanted to set JAVA_HOME explicitly in configuration file so that it can use jdk1.7 and should not affect other jdk apps.

Is there any workaround for that?

Thanks

@hoffrocket
Copy link

the launcher uses the java binary in your path: PATH=/opt/java7/bin:$PATH bin/launcher run

@jitendra200890
Copy link
Author

Thanks Hoff.

Yes you are right, but I'm looking for a separate java PATH configuration within Presto db configuration. Is it possible now?

Thanks

@electrum
Copy link
Contributor

electrum commented Jan 6, 2014

Can you help us understand why setting PATH before running the launcher script does not work for you?

FYI, the launcher script is actually part of Airlift: https://github.com/airlift/airlift/tree/master/launcher

@jitendra200890
Copy link
Author

Hi David,

Yes we are running launcher after setting PATH temporarily on shell environment, But I was looking for a way where we could explicitly define java location in Presto irrespective of other environmental variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants