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

javah is depricated #379

Closed
boxxxie opened this issue May 15, 2019 · 4 comments
Closed

javah is depricated #379

boxxxie opened this issue May 15, 2019 · 4 comments

Comments

@boxxxie
Copy link

boxxxie commented May 15, 2019

https://openjdk.java.net/jeps/313

i'm using ibex with choco.

can someone help me with how to fix ibex so that i can run it with javac as opposed to javah

thanks

@gchabert
Copy link
Contributor

@boxxxie Ok, I'll have a look when I have time.
If you need choco+ibex, can't you downgrade your JDK meanwhile?

@boxxxie
Copy link
Author

boxxxie commented May 17, 2019

thanks for the quick reply

I am using different JVMs for different things.
There are some recent improvements in JVM11+ (ZGC) which I want to take advantage of, and I imaging some stuff related to graalvm is in the later JDKs which I also want to take advantage of.

Choco works fine so far with whatever JVM I use. (i'm using JDK8 when trying to get ibex to work)

I did a search through the ibex code for javah, there are only a few refs, and i think 1 call via a python program.

so far i haven't gotten ibex to work with choco. The docs have not helped me at all, as they haven't been updated, and the choco docs just point to the ibex docs, and I'm not a java dev, I'm a clojure dev. I'm using choco in a clojure project. however when i get ibex working on JVM8 i'll see if i can get it working using javac

---- sidebar ----

however, since you guys did a lot of work already on the java side, maybe you guys could give me some pointers for getting things to work. i see that the compiled output (i have no problems compiling) produces a .jar and some .so files... i have to point my java classpath to the dir related to these files (this is easy in clojure). however i don't want to have a build process for distributing the code, do you think it's possible to wrap everything in a jar (ibex, the jni header files, and other stuff i can figure out how to compile) and have java point to that?

@gchabert
Copy link
Contributor

so far i haven't gotten ibex to work with choco. The docs have not helped me at all, as they haven't been updated

What kind of updates are your talking about? The way ibex is working with choco is the same since the beginning and it's documented here and there.

do you think it's possible to wrap everything in a jar

As far as I know, a jar file wraps java classes. You cannot put a .so library in it.

@boxxxie
Copy link
Author

boxxxie commented May 26, 2019

i have been able to get ibex working.
my main issue was just being unfamiliar with running java from the command line.
i had no problems with it via clojure.

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

2 participants