Mailing Lists: Apple Mailing Lists

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

Re: BSD Java pr3 Error connect X11]




On Nov 30, 2007, at 06:53 , Bit Runner... wrote:

Premised: I do not know mac os x well...
I have mac os x tiger 10,4, I have unloaded the binary of the java pr3.
Start Eclipse setting my new java VM. ok.
Run my program and I have the following error:

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

I execute of the searches on google and find:

You need to set the DISPLAY environment variable:
Code:
export DISPLAY={Your IP Address}:0.0
in mac os x open the terminal and write:
export DISPLAY={192.168.1.37}:0.0

unfortunately the error remains. Where mistake?

No braces! :-) In any case, the IP address is optional, export DISPLAY=:0.0 will be ok.

-- 
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
email@hidden - mobile: +39 348.150.6941


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >BSD Java pr3 Error connect X11] (From: "Bit Runner..." <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.