sudo apt-cache search tomcat
sudo apt-cache search tomcat
Just run “java -version”. if JAVA is installed in your system , it will display the version
From Ubuntu Terminal
1.Open terminal(Press CTRL+ALT+T or Applications->Accessories->Terminal)
2 Type the command sudo apt-get install gimp3.Wait for downloading and installation to complete.It may take few minutes.
From Ubuntu Software Center or Synaptic Package Manager(SPM)
1.Go to Ubuntu software Center or SPM and search for gimp.
2.Then click to install.
Run the below given command
java -jar start.jar
This can be used for restarting Apache solr as well .
java -Ddata=args -Dcommit=no -jar post.jar “<delete><id>SP2514N</id></delete>”
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
After installing cURL you have to restart Apache using the below given command
sudo /etc/init.d/apache2 restart
sudo apt-get remove wine
rm -rf $HOME/.wine
rm -f $HOME/.config/menus/applications-merged/wine*
rm -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/wine*
rm -f $HOME/.local/share/icons/????_*.xpm
sudo apt-get install wine
apt-get install sun-java6-jdk sun-java6-jre
apt-cache search jdk