• Post Reply Bookmark Topic Watch Topic
  • New Topic

j2ee install problem  RSS feed

 
david hu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed the j2ee 1.4 on linux box by doing ./j2eesdk-1_4_03-linux.bin, after it's installed under the dir /usr/j2ee. I removed it for some reason by doing rm -rf /usr/j2ee. But when I tried to install it on the same dir, I got the followin problem, it said the j2ee is already installed. If I continue install under the same dir, although it's said finished, but after taking a look at the dir /usr/j2ee, I only found the following file appserv_uninstall.class.

How to do a re-install on the same dir, say /usr/j2ee?

Also, I guess I did not do the right uninstall of j2ee on linux box. What is the procedure to do the uninstallation on linux box?

Thanks,
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Linux distribution are you using, and did you use a package manager program to install J2EE?

Linux package management programs have their own database somewhere on the system where they keep track of installed packages. If you just delete the directory, then the package manager doesn't automatically know that you've removed the package manually. So if you used a package manager, look at the documentation of it to find out how you should uninstall packages.

Different Linux distributions have different package management systems (for example, "apt" is used on Ubuntu and Debian Linux, "rpm" is used on Red Hat and other distributions).
 
david hu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not using any package manager, since the file I got is a .bin file, it is automatically extract itself when installing.

So what else can go wrong?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!