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
 
Search this Thread
Old 08-01-2012, 03:17 AM   #16
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,614
Blog Entries: 1

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052

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:

Code:
export LD_LIBRARY_PATH="/usr/lib64/jvm/jre/lib/amd64"
and I got:
Code:
 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  [libjvm.so+0x5668cb]  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.
http://www.slackware.com/~alien/slac...necraft/build/

HTH
 
Old 08-27-2012, 10:40 AM   #17
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 40

Rep: Reputation: 14
Thumbs up Thanks astrogeek

Quote:
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!

Code:
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, 11:28 AM   #18
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,397

Rep: Reputation: Disabled
Quote:
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.

Eric
 
  


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


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


All times are GMT -5. The time now is 05:20 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration