Question: can pocket edition play with java?
Answer: No, you can't. They're entirely different games. To expand a bit on BlaXpirit's answer, the PC version, the Pocket Edition, and the XBox 360 Edition are all separate games, with separate features and in separate states of development.