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

Better Java integration #18

Merged
merged 3 commits into from
Mar 19, 2018
Merged

Better Java integration #18

merged 3 commits into from
Mar 19, 2018

Conversation

jserv
Copy link
Member

@jserv jserv commented Mar 18, 2018

  1. Move Java build rules out of top-level Makefile;
  2. Use javah to generate JNI header from latest Java source;
  3. Defer to JAVA_HOME setting;

File jni/iri-pearldiver-exlib.h was generated out of source tree, which
might be not sychronized to new interface specific to
`com.iota.iri.hash.PearlDiver`. This commit ensures the generated JNI
header consistent to latest Java source.
This commit improves the detection of JDK and allows custom JAVA_HOME
configuration, which is important to deployment.
@furuame
Copy link
Member

furuame commented Mar 18, 2018

This feature is great! Thanks a lot.

@jserv
Copy link
Member Author

jserv commented Mar 18, 2018

Alternatively, developers should be able to specify IRI source path rather than downloading from GitHub.

@furuame
Copy link
Member

furuame commented Mar 19, 2018

[verified] Compatible with IRI.

@furuame furuame merged commit dff5cd8 into DLTcollab:dev Mar 19, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants