an error occurred uploading to the itunes store – Oracle’s Java 1.7 u10

If you are getting following message while submitting apps into App Store

an error occurred uploading to the itunes store

And you have recently installed Oracle’s Java 1.7 these are the steps that may help you

cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo mv Current Current~
sudo ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents Current

After this change, make sure you are running Java 1.6

gamma$ java -version
java version "1.6.0_37"
...

source: here is the source

Comments (2)

anonymousNovember 28th, 2012 at 11:59 am

Many thanks, I owe you big time for this :)

anonymousNovember 30th, 2012 at 1:59 pm

No problem.
Great to hear someone saved some time with this one.