how to swith java version from 1.7 to 1.8 when creating deployment package

We've changed the java version during development from 1.7 to 1.8. now, when we want to deploy, the cloud-generation will end up in error, because the generation part is done in java 1.7 and not in 1.8 as set in the modeler. Is there a way to switch java version in the cloud for use with the "create package from teamserver" button?      
1 answers

If I remember correctly there used to be a dropdown selector where you could switch. But what happens if you set the preferences to 1.8, run locally to make sure there are no Java errors and then commit again? You could also may be create one package manually and upload that one. It might pick up after that that it should compile with 1.8.