Update java.rc

the hardcoded version of java was a problem for me.  mine was: 
java-1.7.0-openjdk-1.7.0.65.x86_64 vs 
java-1.7.0-openjdk-1.7.0.45.x86_64
Not sure what the best way is but this looks a little more flexible.