LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-18-2011, 10:14 AM   #1
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Rep: Reputation: 1
can't start netbeans on slackware


Slackware vers: 13.1
Netbeans vers: 6.9.1
JDK version: 1.6.0_24
Code:
# 
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb2d772fd, pid=2766, tid=2953837424
#   
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  [libX11.so.6+0x412fd]  _XRead+0x2d
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
full file: http://codepaste.net/aknwdb

I tried reinstalling both JDK and Netbeans to no avail.

Last edited by gujedan; 02-18-2011 at 10:19 AM.
 
Old 02-18-2011, 02:17 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Seems a silly question, but have you got libX11.so.6 installed and does it have a symbol _XRead?

With java inside a VM, you're not going to get much help unless you give concise details.
 
Old 02-18-2011, 04:30 PM   #3
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by business_kid View Post
Seems a silly question, but have you got libX11.so.6 installed
well I have libX11 installed and the file libX11.so.6 is in /usr/lib so yes.

Quote:
Originally Posted by business_kid View Post
does it have a symbol _XRead?
that part I don't really get.. could you tell me how to check it?
 
Old 02-19-2011, 03:23 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Run these commands:

slocate -u or updatedb (takes a while)
locate libX11.so.6
If it is found, make

also worth looking at the output of
cat /etc/ld.so.conf

to see that the directory containing libX11.so.6 is listed. Otherwise add it & run ldconfig.
 
Old 02-19-2011, 07:45 AM   #5
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by business_kid View Post
Run these commands:

slocate -u or updatedb (takes a while)
locate libX11.so.6
If it is found, make

also worth looking at the output of
cat /etc/ld.so.conf

to see that the directory containing libX11.so.6 is listed. Otherwise add it & run ldconfig.
ok, did all of that. no changes so far
 
Old 02-19-2011, 11:19 AM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
1.6.0_24-b07 works with Netbeans on my Slackware64 13.1 system.
 
Old 02-19-2011, 03:08 PM   #7
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Richard Cranium View Post
1.6.0_24-b07 works with Netbeans on my Slackware64 13.1 system.
may I ask which version of Xorg are you using? also which netbeans version you are using, where did you get it from and how did you install it? which version is your libX11.so.6 linking to?

also to correct a little mistake: my libX11.so.6 is actually a link to libX11.so.6.3.0

last edit: after copying the libX11.so.6 symlink out of the dir, fiddling around a bit with the previous versions and copying back made it work..

Last edited by gujedan; 02-19-2011 at 05:53 PM.
 
Old 02-20-2011, 02:56 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by gujedan View Post
ok, did all of that. no changes so far
I take this to mean it is still failing to compile? No changes doesn't say much. If you did what I suggested, there would have been changes all right. Where is that lib?

Try ls -l /path/to/libX11.so.6. Is the symlink a good one? Does the file exist? How big is it?
 
Old 02-20-2011, 03:23 AM   #9
gujedan
Member
 
Registered: Oct 2010
Posts: 121

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by business_kid View Post
I take this to mean it is still failing to compile? No changes doesn't say much. If you did what I suggested, there would have been changes all right. Where is that lib?

Try ls -l /path/to/libX11.so.6. Is the symlink a good one? Does the file exist? How big is it?
well right now it is a 1.2MB healthy symlink, both the target file and the link exist. and just for the fact - I wasn't trying to compile but start Netbeans.
 
Old 02-20-2011, 11:57 PM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by gujedan View Post
may I ask which version of Xorg are you using?
xorg-server-1.7.7-x86_64-2_slack13.1

Quote:
also which netbeans version you are using, where did you get it from and how did you install it? which version is your libX11.so.6 linking to?
NetBeans IDE 6.9.1 (Build 201011082200)

I got it from www.netbeans.org and installed it in my $HOME directory.

Code:
$ ls -l /usr/lib64/libX11.so.6
lrwxrwxrwx 1 root root 15 2010-05-29 17:38 /usr/lib64/libX11.so.6 -> libX11.so.6.3.0*
 
Old 02-21-2011, 02:09 AM   #11
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Rep: Reputation: 33
Could be a access rights problem.

Uninstall netbeans and reinstall as root and place it in an appropriate directory in the root /. This means installing as root.

I think it defaults to /usr/local. I also install my jdk in the same directory. Don't forget to set java home and jre home. I removed the generic jre that came with slackware before installing the latest jdk and set the jre to the one that comes with the jdk.
 
  


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
slackware 13.1 java jdk path problems with netbeans molossus Slackware 7 08-19-2011 07:49 AM
NetBeans 6.8 on Slackware 13.0... tallship Slackware 1 02-25-2010 06:07 AM
Netbeans 6.7.1 in Slackware 13 gdb helper application failed to launch cstrieder Slackware 2 10-05-2009 08:21 PM
LXer: Sun Announces the Latest in Open Source Tools with the Availability of NetBeans Visual Web Pack and NetBeans C/C++ Development Pack LXer Syndicated Linux News 1 12-31-2006 07:37 AM
How do I start Slackware 10.0? greentooth Linux - Software 4 06-23-2005 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:25 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