Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-01-2012, 02:17 AM   #16
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220Reputation: 1220

Just an update for people playing minecraft on Slackware-current.

Having installed Oracle's jre using the newly added slackbuilds in /extra/source, I had problems running Minecraft. First it complained about the architecture mismatch. Then I exported:

export LD_LIBRARY_PATH="/usr/lib64/jvm/jre/lib/amd64"
and I got:
 A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007f783e59c8cb, pid=17752, tid=140154004268800
# JRE version: 7.0_05-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.1-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  []  jni_GetLongField+0x9b
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
Finally, I built minecraft with Eric's SlackBuilds and it works fine.

Old 08-27-2012, 09:40 AM   #17
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 142

Rep: Reputation: 35
Thumbs up Thanks astrogeek

Originally Posted by astrogeek View Post

If it builds OK, simply removepkg jre (or jdk), then installpkg path-to-new-package.tgz.

The package will then take care of basic environment variables and symlinks, and keep your system clean (and your package DB in sync).

If you hit any snags, perhaps someone with a 64 bit box can chime in here - but it should be pretty simple.
Hats off to that man! I'm running Slackware64 13.37 and have tried everything I could think of and what Google could provide me with in the way of possible solutions. After days of banging my head against a wall with this annoying bloody java issue I finally came across this thread earlier today.

After reading your post, astrogeek, it was indeed very simple. Embaressingly simple in fact. Though I have to admit, in my case it was not being able to see the wood for the trees. (a.k.a being a noob) :>

I checked just out of interest to make sure jre was not installed... and it was!!! So, I removed the jre and jdk packages (I really do _not_ know how jre got on there in the first place!) and installed the jdk once again. Hey presto... as if by magic, it's all working!

user@server:/# java -version
java version "1.7.0_05-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.2.1) (Slackware)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)
Thanks astrogeek for that "wake-me-up-i'm-being-an-idiot" slap in the face. Never again will I forget to check if jre is installed first.
Old 08-27-2012, 10:28 AM   #18
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,658

Rep: Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977Reputation: 3977
Originally Posted by Penthux View Post
I really do _not_ know how jre got on there in the first place!
The JRE would have been installed if you did a full installation of Slackware 13.37 for instance.



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Java] Installing Java on Debian Linux lgp171188 Linux - Software 3 06-20-2009 11:40 AM
Installing Java Based Application throws "java.lang.NoClassDefFoundError" ConfigMan_08 Linux - Newbie 10 12-22-2008 04:58 PM
Help installing java Lakota Mandriva 18 12-12-2004 02:02 AM
installing java kshatriyarules Programming 2 12-02-2004 11:04 AM
Installing Java VM? broham Arch 1 11-12-2004 02:33 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:23 AM.

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