Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Slackware Linux Help > Installing java

Forgot Password?
 Slackware Linux Help   For help and Discussion about Slackware linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-31-2009   #1 (permalink)
Linux Newbie
 
grishi_111's Avatar
 
Join Date: Oct 2007
Location: Jafarpur Sitharra(U.P.)/New Delhi, India
Posts: 164
Send a message via Yahoo to grishi_111
Installing java

hi i have slackware 12.2 installed in my machine.
i am trying to install java. i downloaded jdk-6u11-linux-i586-rpm.bin .
while trying
Code:
./jdk-6u11-linux-i586-rpm.bin
error message is :
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
replace jdk-6u11-linux-i586.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: a
error: invalid response [a]
replace jdk-6u11-linux-i586.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: jdk-6u11-linux-i586.rpm
inflating: sun-javadb-common-10.4.1-3.1.i386.rpm
inflating: sun-javadb-core-10.4.1-3.1.i386.rpm
inflating: sun-javadb-client-10.4.1-3.1.i386.rpm
inflating: sun-javadb-demo-10.4.1-3.1.i386.rpm
inflating: sun-javadb-docs-10.4.1-3.1.i386.rpm
inflating: sun-javadb-javadoc-10.4.1-3.1.i386.rpm
error: Failed dependencies:
/bin/basename is needed by jdk-1.6.0_11-fcs.i586
/bin/cat is needed by jdk-1.6.0_11-fcs.i586
/bin/cp is needed by jdk-1.6.0_11-fcs.i586
/bin/gawk is needed by jdk-1.6.0_11-fcs.i586
/bin/grep is needed by jdk-1.6.0_11-fcs.i586
/bin/ln is needed by jdk-1.6.0_11-fcs.i586
/bin/ls is needed by jdk-1.6.0_11-fcs.i586
/bin/mkdir is needed by jdk-1.6.0_11-fcs.i586
/bin/mv is needed by jdk-1.6.0_11-fcs.i586
/bin/pwd is needed by jdk-1.6.0_11-fcs.i586
/bin/rm is needed by jdk-1.6.0_11-fcs.i586
/bin/sed is needed by jdk-1.6.0_11-fcs.i586
/bin/sort is needed by jdk-1.6.0_11-fcs.i586
/bin/touch is needed by jdk-1.6.0_11-fcs.i586
/usr/bin/cut is needed by jdk-1.6.0_11-fcs.i586
/usr/bin/dirname is needed by jdk-1.6.0_11-fcs.i586
/usr/bin/expr is needed by jdk-1.6.0_11-fcs.i586
/usr/bin/find is needed by jdk-1.6.0_11-fcs.i586
/usr/bin/tail is needed by jdk-1.6.0_11-fcs.i586
/usr/bin/tr is needed by jdk-1.6.0_11-fcs.i586
/usr/bin/wc is needed by jdk-1.6.0_11-fcs.i586
/bin/sh is needed by jdk-1.6.0_11-fcs.i586
Installing JavaDB
error: Failed dependencies:
/bin/sh is needed by sun-javadb-core-10.4.1-3.1.i386

Done
i think these files are in place. then wwhy this error?
please help.
__________________
RGInfoTech is a Web Development Company in India
grishi_111 is offline  


Reply With Quote
Old 07-31-2009   #2 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,200
I don't know Slackware well, but I would suggest trying the Slackware package.

Package info and download slackware-current/jre-6u14-i586-1.txz
reed9 is online now   Reply With Quote
Old 07-31-2009   #3 (permalink)
Linux Newbie
 
grishi_111's Avatar
 
Join Date: Oct 2007
Location: Jafarpur Sitharra(U.P.)/New Delhi, India
Posts: 164
Send a message via Yahoo to grishi_111
thanks
i wanted to use the download i had.
i will download package for slackware.
thanks again
__________________
RGInfoTech is a Web Development Company in India
grishi_111 is offline   Reply With Quote
Old 07-31-2009   #4 (permalink)
Linux Engineer
 
Freston's Avatar
 
Join Date: Mar 2007
Location: The Netherlands
Posts: 827
You took the self extracting rpm, rather than the self extracting generic package.

Many dependencies it's complaining about are indeed not in /bin but in /usr/bin on a Slackware system.

Try this one, the link reed9 gave is for Slackware current, which uses a slightly different packaging format (.txz). I don't think Slack 12.2 is forward compatible with it.
__________________
Can't tell an OS by it's GUI
Freston is offline   Reply With Quote
Old 07-31-2009   #5 (permalink)
Linux Newbie
 
grishi_111's Avatar
 
Join Date: Oct 2007
Location: Jafarpur Sitharra(U.P.)/New Delhi, India
Posts: 164
Send a message via Yahoo to grishi_111
oh yes all i needed was jdk not jre.
but i got it from there in extra directory, you suggested is the same i started downloading.
thanks for your reply mate!.
__________________
RGInfoTech is a Web Development Company in India
grishi_111 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:40 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2