FedoraThis forum is for the discussion of the Fedora Project.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is the error that I'm getting after having tried "refreshing (-F), installing (-i), updated/upgrading (-U) and even using the force (--force) on both the install command (-ivv --force) or the upgrade command (-Uvv --force).
When I'm at a shell/command prompt and I type "java" or "whereis java", this is what I get:
[root@KirbyOne root]# java
bash: java: command not found
[root@KirbyOne root]# whereis java
you just install it by this command
rpm -Uvh j2re-1_4_2_04-linux-i586.rpm --force
and then , you can find the directory under /usr/java, you can move it to /usr/lib or anywhere you want to.
finally , paste this below into /etc/profile
[root@KirbyOne root]# cd /tmp/JavaStuff
[root@KirbyOne JavaStuff]# rpm -Uvvh j2re-1_4_2_04-linux-i586.rpm --force
D: ============== j2re-1_4_2_04-linux-i586.rpm
D: Expected size: 13786938 = lead(96)+sigs(100)+pad(4)+data(13786738)
D: Actual size: 13786906
D: j2re-1_4_2_04-linux-i586.rpm: MD5 digest: OK (75b6aacf592bc7d7201170a8422b9dde)
D: opening db environment /var/lib/rpm/Packages joinenv
Any suggestions? I'm really getting frustrated as I still can't seem to get Java installed.
Mira Paisano: unistall/remove/erase the package you downloaded.
1.-Download the Java 2 Runtime Env. package from java.sun.com/download (Look for a Java 2 Platform, std edition that runs on Linux, then download the Java 2 R.E. package. I used j2re-1_4_03-linux-i586-rpm.bin )
2.-Make the package executable and execute it to extract the RPM, as follows:
# chmod 755 j2re*-rpm.bin
3.-Install the j2re3 package (as root user), just as you would any software RPM package:
# rpm -iv j2re*rpm
4.-Change the java plug-in directory and create a link from the java plug-in to the Mozilla/Opera plug-ins directory. (Instead of * , you could type the whole j2re directory name.)
$ cd /usr/java/j2re*/plugin/i386/ns610/
$ cp libjavaplugin_oji.so /usr/lib/mozilla/plugins/
5.-Close any open Mozilla windows, then open a new Mozilla window.
6.-Click help about plug-in and lots of supported Java MIME types.
7.-To see if the Java plug-in is working, you could try out some games from the Java software showcase (http://java.sun.com/getjava/showcase.html).
8.-Finally, type in a shell:
# rpm -Va
You should see a Java Icon in applications.
I get this after a long string of stuff gets printed out in a shell command:
Unsatisfied dependencies for squirrelmail-1.4.0-1: php >= 4.0.4
.......T c /etc/krb5.conf
Unsatisfied dependencies for autoconvert-xchat-0.3.7-13.2: xchat
S.5....T c /etc/xinetd.d/swat
which tells me that Java is NOT installing, even though I always get this error:
D: opening db index /var/lib/rpm/Basenames create mode=0x42
package j2re-1.4.2_04-fcs is already installed
Anyone know how I can actually open this file (var/lib/rpm/Basenames ) and read what's inside of it? It keeps telling me that this is an unknown file type! (size 10.2mb)