R.java is a file which holds references to project resources. It is automatically generated by the Android Development Toolkit during project compilation.