[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 505
  • Last Modified:

uninstall operation

I have j2sdk1.4.2_04 installed on my linux machine.   Now, I need to install j2re1.4.2_03 since I need access to some of their files for a certain reason.   After I'm done, I then want to uninstall j2re1.4.2_03 since I won't be needing it anymore.   I was wondering if there's any proper way to uninstall such a program in linux, and if there is, could anyone tell me how?   Thanks.
0
skyblue01
Asked:
skyblue01
1 Solution
 
jlevieCommented:
That depends on how you installed the current copy and where it is installed. If you used an RPM for the install you can remove it with 'rpm -e j2sdk1.4.2_04'. If the install was done from a tarball or similar simply removing the directory containing the JDK will suffice.

Note that when using a tarball install it is possible to have more than one version of the JDK installed. I typically place the JDK in /opt/j2sdk-1.4.2-04 and create a symlink from there to /usr/java. I can place a different version in /opt/j2sdk-1.4.2-03, change the symlink and use the earlier version.
0
 
skyblue01Author Commented:
jlevie, thank you for your response.   Sorry for not getting back to you immediately.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now