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

Comments

Projects
None yet
2 participants
@matthewarkin
Copy link
Contributor

commented Sep 10, 2013

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

This comment has been minimized.

Copy link
Member

commented Sep 13, 2013

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

This comment has been minimized.

Copy link
Contributor Author

commented Sep 13, 2013

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 armhf versions of openjdk 6 and 7
Added java-6-openjdk-armhf and java-7-openjdk-armhf to JDK_DIRS in debian init.d script per elastic#3659

@spinscale spinscale closed this in 6356ad2 Sep 16, 2013

spinscale added a commit that referenced this issue Sep 16, 2013

Debian init script: Added armhf openjdk6/7
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

Debian init script: Added armhf openjdk6/7
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
You can’t perform that action at this time.