LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-29-2003, 11:03 PM   #1
shanlz
LQ Newbie
 
Registered: Sep 2002
Posts: 14

Rep: Reputation: 0
uninstalling applications on RH7.3


Hi !

I have 3 simple queries

1. I've installed JDK on my RH7.3 . Now I'd like to uninstall it, how do I do that ?? I checked the Control Panel,etc...couldn't find it. Also browsed the book briefly.

(I installed JDK from a .bin file)

2. When I go to the bin directory of the installed JDK, and type java -version, I get 'file not found.....' .

From my knowledge of windows, although you need to set the PATH variable, but if you go the JDK bin directory and do 'java', it does work. Why not in RH Linux too ?

So, how can I start compiling Java programs ?

3. NTFS is not supported on my RH7.3 install. Still , is there any way I can read the NTFS partitions ?


Thanks very much.

Shanlz
 
Old 05-29-2003, 11:08 PM   #2
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
you should look at my guide (it's in my sig below)

usually for uninstalling programs, it is..

for rpms - rpm -e filename
or for source files - make uninstall filename

as for ntfs, there is support but you need to download a rpm for it.
 
Old 06-01-2003, 07:37 AM   #3
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
1- If you installed it from a .bin file, probably you cannot uninstall it from rpm.

Go into JDK directory. Search for an "uninstall" script or whatever. If it doesn't exist, it should suffice with deleting the whole directory containing jdk.

2- You can't run java --whatever because the "actual" directory is not set in the PATH for security.
If you go the JDK bin directory as you said, you should exec like:

# ./java

That way you are giving the actual directory as PATH.

Else, you can add tha actual directory (" . ") to /etc/profile:

PATH= $PATH:.
export PATH
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling applications from source cjpsparks Linux - Software 6 02-01-2005 11:53 AM
uninstalling applications in shell eros Linux - Newbie 3 12-31-2003 01:10 PM
Installing & Uninstalling Applications Creole Red Hat 2 09-23-2003 11:08 AM
uninstalling applications via ports... jd121 *BSD 2 08-24-2003 09:43 PM
Uninstalling Applications cmoloney Linux - Software 2 05-11-2003 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:46 PM.

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