LinuxQuestions.org
Review your favorite Linux distribution.
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 04-16-2009, 09:19 PM   #1
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Rep: Reputation: 31
Exclamation jre slackware 12.2


I can't seem to get the jre on my slackware 12.2 machine. anyone had any luck? I get an error after running the .bin that it cant execute some binary inside...

I'm pretty clueless. Any advice?
 
Old 04-16-2009, 09:45 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
How about posting the error. I have installed a few jvms on my slack box without issue.
 
Old 04-17-2009, 02:03 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Why not use the default Slackware 'jre'

'slackware/l/jre-6u6-i586-3.tgz' from disk 1 ?

or ... 'jre-6u11-i586-1.tgz'
ftp://ftp.heanet.ie/mirrors/ftp.slac...2/slackware/l/
.....

Last edited by knudfl; 04-17-2009 at 02:07 PM.
 
Old 04-17-2009, 02:16 PM   #4
1337
Member
 
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75

Rep: Reputation: 18
You can use slackpkg to install. slackpkg install jre should do the trick
 
Old 04-17-2009, 04:06 PM   #5
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Original Poster
Rep: Reputation: 31
ok... I know I have jre, as I installed it from the disc 1.

I think I actually need the jdk; as when I try to install Art Of Illusion, I get an error about "/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
"

I'll try installing that one.
 
Old 04-17-2009, 05:11 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Well, then you have it.

'find /usr/lib/ -name libjli.so'
/usr/lib/java/lib/i386/jli/libjli.so
......
cd ArtOfIllusion/
sh aoisetup.sh

... and it works ... on Slackware 12.2 .
.....

Last edited by knudfl; 04-17-2009 at 05:20 PM.
 
Old 04-17-2009, 05:28 PM   #7
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Original Poster
Rep: Reputation: 31
darnit... after finding the libjli.so and copying it to /bin/java, I get the following:
Code:
./aoisetup.sh: line 44: 18389 Segmentation fault      $JAVACMD
..drat
 
Old 04-18-2009, 01:32 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Something seems to be wrong with your java.

Line 44, aoisetup.sh, "... -jar aoi-linux-install.jar"
And in fact, the installer can as well be started without
using './aoisetup.sh' : 'java -jar aoi-linux-install.jar'
works too. .... So please try that.

How about updating to 'jre-6u11-i586-1.tgz', you will as
minimum have to reinstall java ( jre ).
And having 'libjli.so' in /bin/java/ is not right.
.....
 
Old 04-18-2009, 07:16 AM   #9
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Original Poster
Rep: Reputation: 31
I bet I know what's wrong. I told the computer to copy libjli.so to /bin/java, which... isn't a directory, meaning I overwrote java. :P (duhr) How can I fix java, and where should I move the libjli.so?
 
Old 04-18-2009, 10:43 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Just delete your copy of libjli.so ....

And get that reinstall or update done, as suggested,
else you will never make it work ! ! !
 
Old 04-19-2009, 01:31 PM   #11
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Original Poster
Rep: Reputation: 31
I installed an all new java-6u13 jre and jdk. I still get a seg fault.
 
  


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
Where JRE 5.0 Branta Puppy 3 12-28-2007 02:46 PM
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 06:34 PM
JRE error s_araj Linux - Software 1 02-25-2005 04:41 PM
Java JRE merchtemeagle Linux - Newbie 3 10-15-2004 01:38 PM
Jre inescapeableus Linux - Newbie 3 04-18-2004 10:04 PM

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

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