-
Notifications
You must be signed in to change notification settings - Fork 128
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
jni.jarToD now rt.jar has gone away #370
Comments
To find java home: Then extract all the class files (and a bunch of other junk) Make a jar all looks good, but then when building:
which is actually wrong because the line in question doesn't contain the word package, it's |
ok, so that last error is fixed by #371 |
I am supposed to resting so I'm gonna stop here, but I will just say that the instructions for using jni.d weren't super clear, it's a really cool thing that a decent "Here's how to take a massive Java library and call it from D" example project or something that really makes it clear would make much more likely to be used. |
I haven't touched the java thing for ages now, I did this just as a helper lib for the android thing that went nowhere anyway so aside from the little toy examples I've never actually used it! But yeah the jar to d was an internal helper to translate those classes over. It compiles extremely slowly tho for anything big... |
fast enough... takes about a minute on my machine to do the whole java standard library, but it doesn't need doing v. often. |
I mean importing the things to use it in the application, that's what compiles slowly, so you are better off doing it kinda selectively.. |
rt.jar
went away in java 9, so what's the way to get a D interface to those java standard library things?The text was updated successfully, but these errors were encountered: