previous edit seemed to not get rid of the bad stuff. trying the c string to java string conversion again but this time not shrinking the size of th returned array any.