Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have not been able to find the answer to this question so far. If it is out there I am sorry! I have java 1.4.2 installed and I need to remove it. I am trying to get the IBM JDK 1.3.1 installed and configured so that I can install DB2 8.1. I have Red Hat WS 3.0 installed and am using KDE for the desktop. I used the RPM to install both but I need to remove them both and start over.
thanks for the docs. however in my current newbie skill level I am unable to remove the java version.
rpm -e [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--repackage] [--test] j2re-1_4_2_05-linux-i586.rpm
error: package [--allmatches] is not installed
error: package [--nodeps] is not installed
error: package [--noscripts] is not installed
error: package [--notriggers] is not installed
error: package [--repackage] is not installed
error: package [--test] is not installed
error: package j2re-1_4_2_05-linux-i586.rpm is not installed
Is my syntex correct? do I need to be in a certain folder to issue the command?
People might get the impression that you're completely
lazy if you keep asking stuff like that without an
indication that you've read but not understood the
man-page. And personally I'm quite reluctant to
run a non-payed lookup-service ;)
thanks for the info. I am a complete newbie and was getting confused with the syntex the way it is described in the manual. I am starting to get the hang of it now though.
This script is a placeholder for the /usr/bin/java and /usr/bin/javac
master links required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.
This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
[mike@isi install]$
Is there any easy ways to fix what looks like a messed up java install?
I'd assume that this script is part of this package:
redhat-java-rpm-scripts-1.0.2-2
Try a
rpm -ql redhat-java-rpm-scripts-1.0.2-2
and see whether it actually is.
If it is part of that (and you already did install the
IBM jdk that DB2 wants) you could erase the
scripts as well, and create a java.sh script
in /etc/profile.d that sets up the environment
variables appropriately ...
Either should work ... I'm not familiar enough
with rpm though to know for sure how rpm
would handle that manually modified file
in case you decided to un-install or update
it later on. My personal approach would be
to remove the rpm it belongs to, and create
a shell script as I mentioned, but then I'm a
control-freak when it comes to my computers ;)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.