LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-24-2005, 01:18 AM   #1
jonnybot
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandrake & Puppy
Posts: 8

Rep: Reputation: 0
Java/X11 Display Property Error


So, I'm trying to install Wyvern (a java based MUD, made by a company called cabochon) and when I do I get an error saying that the program expected there to be a X11 Display property set, but that it wasn't. What gives?
I ran xorgconfig, but to no avail. Granted, I did bluff my way through quite a bit of it, but nothing was ever said about an X11 display property.

Also, the installation notes say that I need to create a launcher. I'm running Blackbox as the GUI currently, and can't find out how to do this from there- I assume that this is only doable in the GUI, as most references to creating a launcher talk about how to do it in Gnome or some other environment.

So, what ought I do?
 
Old 09-24-2005, 02:06 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,244

Rep: Reputation: 45
Ok, first thing's first. Exactly what display propery needs to be set???Details make the difference between a qustion that can be answered and a question that is ignored.
 
Old 09-24-2005, 07:56 PM   #3
jonnybot
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandrake & Puppy
Posts: 8

Original Poster
Rep: Reputation: 0
details

Correction: the words used were X11 Dispaly variable. Here is what happened, pretty much verbatim:
jonnybot@darkstar~$: java -jar /directory/pure_install.jar
Exception in main class "JavaExpressLoader"
java.awt.Headlessexception
NO X11 display variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnviornment.checkHeadless(Unknown Source)
at java.awt.Window.<init>(Unknown Source)

and so on, listing places where the dispaly variable was required.

If it's pertinent, the version of java that I'm running is 1.5.0_04. This is several versions higher than the one required to run the installer, and I've been able to install and run the program on Windows machines with higher versions of java in the past.
 
Old 09-24-2005, 09:30 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
Code:
DISPLAY=:0.0
export DISPLAY
put those lines in your /home/username/.bash_profile
 
Old 09-25-2005, 12:00 PM   #5
jonnybot
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandrake & Puppy
Posts: 8

Original Poster
Rep: Reputation: 0
There's no such file. My username has a folder in /home, but the only file inside it that resembles .bash_profile is .bash_history

---
Ammendment: Thanks to Unduhtakuh's tip list, I was able to create a .bash_profile and insert that option. Though there's a new difficulty with the java installer (I need Swing 1.1 or 1.2 in my classpath for it to work), the problem in question has been fixed. Many thanks.

Last edited by jonnybot; 09-25-2005 at 03:25 PM.
 
Old 01-15-2009, 11:32 PM   #6
an_sush
Member
 
Registered: Nov 2008
Posts: 46

Rep: Reputation: 15
@jonnybot

run the following command to locate .bash_profile
Code:
$cd
$vi .bash_profile
u can also add those lines in .bashrc file similarly
 
Old 06-11-2009, 09:30 AM   #7
mrodoper
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by mrcheeks View Post
Code:
DISPLAY=:0.0
export DISPLAY
put those lines in your /home/username/.bash_profile
What exactly does this do? What does 0.0 mean?
 
Old 06-11-2009, 10:47 AM   #8
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,139
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by jonnybot View Post
There's no such file. My username has a folder in /home, but the only file inside it that resembles .bash_profile is .bash_history
More information on the bash start up scripts is here:

http://humanreadable.nfshost.com/sdeg/bash_startup.htm

Slackware doesn't come with them installed, you'll have to make your own. :-D

Regards,

-Drew
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 error with Java code on Red Hat naijaguy Programming 2 01-08-2005 05:23 PM
mplayer -vo x11, how do I specify which display? lukebeales Linux - Software 2 09-17-2004 09:35 AM
Correct X11 display??? s1lv1a9999 Linux - Software 2 05-03-2004 01:39 AM
Problems exporting X11 display fskdjvdw Debian 1 01-13-2004 06:28 AM
X11 display failed logins rangerx Linux - Security 0 09-19-2002 10:39 AM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration