Can I have different storeType for keystore and truststore?

I currently use pkcs12 storetype for keystore but I need to use jks for trustore. Is it possible?