An error occurred uploading to the iTunes Store - Please upgrade Java

Yesterday there were an update to Jave (1.6.0_31) in the "Software update", but now when I try to send my updated app, I get this error "An error occurred uploading to the iTunes Store".

Console writes this error... Java 1.5, 1.6, or 1.7 is required. Currently, java is the default java version. Please upgrade.

Any idea how to fix this?

Thanks!

I met the same "An error occurred uploading to the iTunes Store" issue, and it took me a WHOLE NIGHT!

Here comes the way to solve it:

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

the thread: https://devforums.apple.com/thread/147231

posted @ 2013-07-15 10:48  如来藏  阅读(458)  评论(0编辑  收藏  举报