• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java uninstallation in linux

 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all.
I have solved the problem by changing the path to the new version.
[ November 27, 2008: Message edited by: preethi Ayyappan ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic