Skip to main content

Thread: Shell script to completely remove Java from Ubuntu 10.04


this necessary need sun jdk openmrs development (www.openmrs.org).

applications->accessories->terminal

code:
touch /tmp/completely-remove-java  chmod +x /tmp/completely-remove-java  gedit /tmp/completely-remove-java
enter following text:
code:
#!/bin/bash  #  # ubuntu 10.04    # remove java packages  sudo aptitude purge `dpkg -l | grep java | awk '{print $2}'` -y  sudo aptitude purge `dpkg -l | grep gcj | awk '{print $2}'` -y    # remove residual configurations  sudo aptitude purge `dpkg -l | grep -e ^rc | awk '{print $2}'` -y
file->save. file->quit.

terminal.
code:
/tmp/completely_remove_java
misha

moved programming talk. thank posting this.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Shell script to completely remove Java from Ubuntu 10.04


Ubuntu

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support