You want to retain a reference to a C++ object from your Java side? you can't.
Those implementations (C/Java) for representing and accessing objects/primitives are completely different.
That's why there's so much mambo jambo functions when you you cast from one data type to another.