Monthly Archives: July 2011
Apache solr
Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Apache Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language.
Solr’s powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.
Apache Lucene and Apache Solr are both produced by the same ASF development team since the project merge in 2010. It is common to refer to the technology or products as Lucene/Solr or Solr/Lucene
Set the JAVA_HOME Variable in Windows
2) Right-click the My Computer icon on your desktop and select Properties.ThenClick the Advanced tab.
3) Click the Environment Variables button.Under System Variables, click New and Enter the variable name as JAVA_HOME.
4)Enter the variable value as the installation path for the Java Development Kit. If path name includes space it , replace it with ~
5)Click OK and Click Apply Changes.
6)Restart Windows.
what is apache ant used for ?
The most immediately noticeable difference between Ant and Make is that Ant uses XML to describe the build process and its dependencies, whereas Make uses Makefile format. By default the XML file is named build.xml.
Ant is an Apache project. It is open source software, and is released under the Apache Software License.
How to completely remove Wine?
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
How to install Wine?
sudo apt-get install wine
Command to install JDK
apt-get install sun-java6-jdk sun-java6-jre
Command to find out current jdk version in apt-get
apt-cache search jdk
Run Java class file from PHP script on a website
<?php exec(“java -jar filename.jar arguments”,$output); ?>
Famous websites that use PHP
Facebook – World’s biggest social networking platform is developed in PHP
Yahoo! – World’s second largest search engine.
YouTube – Biggest video sharing website .
Wikipedia – Web encyclopaedia .