Add java core lib detection and use in classpath

TODO: proper project root, dependencies, etc.