上传到iTunes Store时出错 - 请升级Java [英] An error occurred uploading to the iTunes Store - Please upgrade Java
问题描述
昨天在软件更新中对Jave(1.6.0_31)进行了更新,但现在当我尝试发送更新的应用程序时,我收到此错误上传到iTunes Store时出错。
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".
控制台写入此错误...
需要Java 1.5,1.6或1.7。目前,java是默认的java版本。请升级。
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?
谢谢!
推荐答案
我遇到了同样的问题上传到iTunes Store时发生了错误问题,它花了我一整夜!
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
主题: https://devforums.apple.com/thread/147231
这篇关于上传到iTunes Store时出错 - 请升级Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!