Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Java setup problem - weird error message

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
commander-keen
n00b
n00b
Posts: 47
Joined: Wed Oct 09, 2013 2:19 am
Location: Europe

[SOLVED] Java setup problem - weird error message

  • Quote

Post by commander-keen » Sun Mar 02, 2014 12:15 pm

Hi

I installed the oracle JDK but the java commands give me a error messages I don't understand:

Code: Select all

crimson:~ $ javac --version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb765e953, pid=19871, tid=3065113408
#
# JRE version:  (7.0_51-b13) (build )
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  [libc.so.6+0x130953]  __nss_passwd_lookup+0x403
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/maex/hs_err_pid19871.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
Aborted

Code: Select all

crimson:~ $ java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I read this memory errors may occur if one has several REs (Runtime Environments) installed, so I tried to remove all but the JDK's RE. (according to the wiki the JDK already contains the JRE). But that did not fix it.
Currently I have three RE's installed:

Code: Select all

crimson:~ # java-config --list-available-vms
The following VMs are available for generation-2:
1)      IcedTea JDK 7.2.4.3 [icedtea-bin-7]
*)      Oracle JDK 1.7.0.51 [oracle-jdk-bin-1.7]
3)      Oracle JRE 1.7.0.51 [oracle-jre-bin-1.7]
Regards
Commander_Keen
Last edited by commander-keen on Sun Mar 02, 2014 8:33 pm, edited 1 time in total.
Top
commander-keen
n00b
n00b
Posts: 47
Joined: Wed Oct 09, 2013 2:19 am
Location: Europe

  • Quote

Post by commander-keen » Sun Mar 02, 2014 1:44 pm

Might be related to this... I recently updated glibc
http://forums.gentoo.org/viewtopic-p-7489716.html

EDIT:
Nope, tried to patch my current glibc version (2.19) the same way as explained for 2.18-r1, but the critical line static __m128i does not exist in the current version. :(
Top
commander-keen
n00b
n00b
Posts: 47
Joined: Wed Oct 09, 2013 2:19 am
Location: Europe

  • Quote

Post by commander-keen » Sun Mar 02, 2014 8:33 pm

Im so sorry, this thread is a duplicate (see link in previous post). I though I was on glibc version 2.19, but:

Code: Select all

crimson:glibc-2.18-r1 # ldd --version
[...]
ldd (Gentoo 2.18-r1 p4) 2.18
[...]
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic