Tracer is a project mainly written in Java, it's free.
I'm not still entirely sure if my tracer will use path tracing or photon mapping.