I am running Fabric 2.2 version on Ubuntu operating system and developed Java chaincode.
I am able to package, install, approve and commit the java chaincode on a network