LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2004, 07:00 PM   #1
tazaran
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 7

Rep: Reputation: 0
can't run eclipse


hello,

I want to run eclipse but I can't, I get the following message: which is almost the same like what Igget if I run realplayer or a Java programm!

I have debian with kernel 2.6.6-1-686

thak you!

this is the message :

Warning: XmParseMappingCreate() is not implemented yet!

Warning: XmParseMappingCreate() is not implemented yet!

Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: Help()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: ... found while parsing ':<Key>osfCancel: MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine: ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':c <Key>osfBeginLine: SWTopLineGrab()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: DrawingAreaInput() ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing ':<Key>osfUp: DrawingAreaInput() ManagerGadgetTraverseUp()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfLeft
Warning: ... found while parsing ':c <Key>osfLeft: ListLeftPage()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing 's c <Key>osfBeginLine: ListBeginDataExtend()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfPrimaryPaste
Warning: ... found while parsing ':m <Key>osfPrimaryPaste: cut-primary()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing '<Key>osfUp:'
Warning: String to TranslationTable conversion encountered errors
 
Old 06-08-2004, 07:19 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
What java did you install and how did you install it? Were there any errors?
 
Old 06-08-2004, 08:10 AM   #3
tazaran
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
I installed j2sdk1.4.2_04 and j2re1.4.2_04 in /usr/local/
I have downloaded the .bin file from the sun website, then i have made it executable then I have run it, after that Ihave made links for java, javac and appletviewer in the 7usr/bin/ folder
I had no errors!
 
Old 06-08-2004, 08:24 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Did you set PATH and CLASSPATH environment variables? I'm not sure that setting links is good enough. PATH should point to your java/bin directory and CLASSPATH should point to the java directory.
 
Old 06-08-2004, 09:34 AM   #5
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
take a look at these links and see if you missed anything. these guides are for RedHat/Fedora, but should be similar enough.
http://www.csfalcon.com/wiki/csfalcon/JavaSDK
http://www.csfalcon.com/wiki/csfalcon/EclipseIDE

Last edited by csfalcon; 06-09-2008 at 02:15 PM.
 
Old 06-09-2004, 10:47 AM   #6
tazaran
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
yes I set the PATH and CLASSPATH environment variables, are you sure that is java that cause the problem ?
 
Old 06-09-2004, 11:47 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
are you sure that is java that cause the problem ?
Actually I'm not sure at all, I was just suggesting starting with the basics. You know, if it doesn't turn on the first thing to check is that its plugged in.

Anyway, there are two things I would do at this point. First, I'd try to run a simple java program (a "Hello World" kind of thing) just to make sure that Java works. If even a really simple java program doesn't work, I'd download a fresh copy and re-install. In your original post you say that any java program gives you this error, so my suspicion is that something got screwed up with Java either in the download or the install. The second thing I would do is trash the existing installation of Eclipse, download a fresh copy and try installing that again, although I'd wait to do that until I was sure Java itself was working correctly.
 
Old 06-09-2004, 12:38 PM   #8
tazaran
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
sorry I haven't mentioned that: the all java Programms runs, those an the command without warnings but those whith GUI with warnings,
the same kind of warnings come also with gv or realplayer which I guess don't use Java!
 
Old 06-09-2004, 01:07 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Well, if the problem is with graphical programs, but not command line, that suggests something more along the lines of your X environment/window manager or X itself. Do you get the same kind of errors if you run one of these programs in a different environment? I'd also start doing some digging in your X logs and see if there is some more specific complaining there.


And in case you're wondering, yes I am fishing here.......
 
Old 06-10-2004, 01:05 PM   #10
tazaran
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
I don't know if that help but I have remarked that I can't run gui_programms as superuser! so I have typed "xhost +localhost" as a user but I still have the same problem :

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Failed to open your X display. Please try setting your DISPLAY environment
variable and try again.


also wenn I open a textfile whith vi as su I get the message:

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
 
Old 06-10-2004, 02:21 PM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
That is really strange. I did a bit of searching and in every case the solution was xhost +. The one odd exception I saw was a guy who said that the permissions on his home directory were wrong (they were set to root instead of the user) and changing them took care of it. Have you messed with the xauth file? I believe that is the preferred method of controlling access to X.

So can you run graphical programs as a normal user instead of su?
 
Old 06-10-2004, 07:15 PM   #12
tazaran
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
thank you for your help,

it works with xhost +localhost, I can jet run graphical programs as su whithout warnings even eclipse works(as su),
but I still have the problem as a user; I can run graphical programs but I can't run eclipse and the programms which run still giving the same warnings!
 
Old 06-11-2004, 03:46 PM   #13
tazaran
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up


it works jet also for normal users;
the users had no permission to read the /usr/lib/X11/XKeysymDB file --w------- so I have just give with : "...#chmod 644 /usr/lib/X11/XKeysymDB" the permission to the users to read the file "XKeysymDB" -rw-r--r--!

thank you all for your help
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run Eclipse? max2004 Fedora 10 02-22-2006 02:37 AM
JVM error when I run eclipse tareqth Linux - Software 4 07-22-2005 02:53 AM
How to run Eclipse on linux Fedora I ? ? caovankhanhvn Programming 3 06-25-2004 03:31 AM
Can't run programs (eclipse) UberNoob Linux - Newbie 3 12-01-2003 01:52 PM
Making eclipse run without terminal true_atlantis Linux - Newbie 4 10-29-2003 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration