Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java and X11



This may not be the right place to ask these questions but here goes anyway.

Anyone out there trying to run Java as an X11 app on Mac OSX?

I can't seem to get the Java app to startup in X11 mode. It always wants to start as a Mac app.

I want to be able to ssh to my Mac from another Unix box, fire up my Java app and have it display back to the X server running on my Unix box.

First off. If I ssh to the Mac with X11 forwarding turned on the DISPLAY variable doesn't get set on the Mac. So, I can set the DISPLAY variable explicitly to my Unix box display but this bypasses the ssh X11 tunneling that I want to use.

And even after setting the DISPLAY variable appropriately the Java app wants to start up in native Mac mode and not X11.

Any ideas how to get ssh to set the DISPLAY variable when turning X11 forwarding on?
Any idea how to tell Java on a Mac to run using the X11 libraries rather than the Mac libs?


Would be nice if I could choose to run the Java app in Mac or X11 mode even from my local Mac.

Any help would be appreciated.

Thanks,
DS
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: x11 bof? (From: "Torrey T. Lyons" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.