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

Include ARMHF Version of Java in JDK_DIRS #3659

Closed
matthewarkin opened this issue Sep 10, 2013 · 2 comments
Closed

Include ARMHF Version of Java in JDK_DIRS #3659

matthewarkin opened this issue Sep 10, 2013 · 2 comments

Comments

@matthewarkin
Copy link
Contributor

We're working on deploying Elasticsearch in an arm environment and have noticed that the armhf version of openjdk-7 is not included in the JDK-DIRS for the Elasticsearch service.

Now while Java should theoretically set its Java_Home, doing the default apt-get install openjdk-7-jre does not do this (on X86 or ARM) which is why I'm assuming the JDK_DIRs list was created.

The path would be /usr/lib/jvm/java-7-openjdk-armhf/ and /usr/lib/jvm/java-6-openjdk-armhf/

@spinscale
Copy link
Contributor

just to be sure, you are talking about the debian init script, right?

Apart from that and out of curiousity: Any problems with running elasticsearch under ARM?

@ghost ghost assigned spinscale Sep 13, 2013
@matthewarkin
Copy link
Contributor Author

Yep the debian init script. I can get a pull request in in the morning with the two added dirs.

Besides the init script, we've had no problems using elasticsearch on arm, everything seems to work, we just install the debian, update the service with the right java path and presto. We've also been using head and the phonetic analysis plugin and those also work.

matthewarkin added a commit to matthewarkin/elasticsearch that referenced this issue Sep 13, 2013
Added java-6-openjdk-armhf and java-7-openjdk-armhf to JDK_DIRS in debian init.d script per elastic#3659
spinscale pushed a commit that referenced this issue Sep 16, 2013
Added java-6-openjdk-armhf and java-7-openjdk-armhf to JDK_DIRS in debian init.d script per #3659

Closes #3659
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Added java-6-openjdk-armhf and java-7-openjdk-armhf to JDK_DIRS in debian init.d script per elastic#3659

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

Successfully merging a pull request may close this issue.

2 participants