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

Gluu Gateway should provides java #62

Closed
yurem opened this issue Apr 5, 2018 · 3 comments
Closed

Gluu Gateway should provides java #62

yurem opened this issue Apr 5, 2018 · 3 comments
Assignees

Comments

@yurem
Copy link

yurem commented Apr 5, 2018

I offer to do:

  1. Add server-jre-8u162-linux-x64.tar.gz to to /opt/dist/app
  2. Add command to installJRE. Here is method from CE setup: https://github.com/GluuFederation/community-edition-setup/blob/master/setup.py#L1120
  3. Add to /etc/profile
export JAVA_HOME=/opt/jre
@yurem
Copy link
Author

yurem commented Apr 6, 2018

Instead of updating /etc/profile we can use modern style to update system variables:
We need to create /etc/profile.d/jre-gluu.sh with:

export JAVA_HOME=/opt/jre
export PATH=$PATH:$JAVA_HOME/bin

@yurem
Copy link
Author

yurem commented Apr 6, 2018

/etc/profile.d/jre-gluu.sh should has 644 permissions and root:root user:group

@ldeveloperl1985
Copy link
Contributor

Tested in build 55. Everything working well

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

No branches or pull requests

2 participants