You cannot run Java on a stock Wii.
The Wii is a fixed-function game appliance. General-purpose runtimes (Java, Python, Node) aren't feasible on it.