An error occurred uploading to the iTunes Store

If you are unable to upload Apps to Apple and installed the JavaOSX update (April 3, 2012) this may help you regain your ability to upload Apps:

You can work around this issue by re-creating the old Java 1.5 symlinks:

cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0

Edit Oct 5, 2012 Oracle’s Java 7

Elaborating on Hackmonford’s comment below.

This exact error message also occurs with Oracle’s Java SE 7 1.7.0_10 package installed. To resolve, open “Java Preferences” and either change the order to have Apple’s Java SE 6 first, or untick Oracle’s Java 7 while submitting to the app store. Verify your change by opening the Terminal:

prince$ java -version
java version "1.6.0_35"

Leave a Comment