The Wayback Machine - https://web.archive.org/web/20201128055112/https://github.com/JuliaInterop/JavaCall.jl/issues/32
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

Calling Swing/AWT components with JavaCall on OS X #32

Open
StreetLevel opened this issue Mar 11, 2016 · 5 comments
Open

Calling Swing/AWT components with JavaCall on OS X #32

StreetLevel opened this issue Mar 11, 2016 · 5 comments
Labels
bug

Comments

@StreetLevel
Copy link

@StreetLevel StreetLevel commented Mar 11, 2016

Hi there,

i would like to call swing/awt components with JavaCall. But there seems to be some thread issues. Frames do not open.
I think this is not an JavaCall issue but an cocoa/JNI thing but maybe someone knows a workaround for JavaCall on OS X?

Thank you in advance.

Best Max

@aviks
Copy link
Collaborator

@aviks aviks commented Apr 24, 2016

I've investigated a little bit, and couldn't come up with any answers. It would be good to get this working.

@jarnoharno
Copy link
Contributor

@jarnoharno jarnoharno commented Sep 13, 2016

I ran into this issue too. It occurs even if I just call things like ImageIO.getCacheDirectory(): a GUI application opens and Julia hangs.

@aviks
Copy link
Collaborator

@aviks aviks commented Sep 13, 2016

Try starting the JVM with "-Djava.awt.headless=true". That will not make graphics work, but might help with the hang.

@jarnoharno
Copy link
Contributor

@jarnoharno jarnoharno commented Sep 13, 2016

That did it, thanks a lot!

@mkitti
Copy link
Collaborator

@mkitti mkitti commented May 4, 2020

Is there still a problem on OS X? I do not have a problem on Linux.

@mkitti mkitti added the bug label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.