Yeah, being Java, there is not the usual Vector import issue that you see in Scala, if that's what you mean. It wouldn't begin to compile without that import. Here's the touched-up version, that I couldn't make work:

```
    JavaRDD<Double> prediction = model.predict(test.map(new Function<LabeledPoint, Vector>() {
      public Vector call(LabeledPoint p) {
        return p.features();
      }
    }).rdd()).toJavaRDD();
```

The returned `RDD` and `JavaRDD` both have generic type `Object` instead of `Double`, and I could not see why, given that the `predict()` method plainly returns `RDD[Double]`. Maybe you see something I am missing.