aspose file tools*
The moose likes Beginning Java and the fly likes java uninstallation in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java uninstallation in linux" Watch "java uninstallation in linux" New topic
Author

java uninstallation in linux

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi

I need to install java source level 5.0 in my linux machine.But already java 1.4.2 is installed default with linux.Even i have installed "java_ee_sdk-5_01-linux" ,the working version is jdk 1.4.2.How can i uninstall the old version and install jdk5

Thanks
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Java EE 5 is different than JDK 5 (also called "Java SE 5"). EE is "Enterprise Edition" which, confusingly, isn't a superset of the JDK; it contains totally different stuff.

Linux systems are generally very happy to have multiple versions of Java installed at once, by the way.


[Jess in Action][AskingGoodQuestions]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40061
    
  28
You edit the PATH to have the requisite version appear first. But if the most recent J2SE JDK you have is 1.4.2, then it will remain 1.4.2.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14435
    
  23

Which version of which Linux distribution are you using, and how did you install Java?

Different Linux distributions have different ways to manage what software is installed on the system.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Thank you all.
I have solved the problem by changing the path to the new version.
[ November 27, 2008: Message edited by: preethi Ayyappan ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java uninstallation in linux