上传到 iTunes Store 时出错 - 请升级 Java [英] An error occurred uploading to the iTunes Store - Please upgrade Java

查看:29
本文介绍了上传到 iTunes Store 时出错 - 请升级 Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天在软件更新"中有对 Jave (1.6.0_31) 的更新,但现在当我尝试发送更新的应用程序时,我收到此错误上传到 iTunes Store 时发生错误".

控制台写入此错误...需要 Java 1.5、1.6 或 1.7.目前,java 是默认的 java 版本.请升级.

知道如何解决这个问题吗?

谢谢!

解决方案

我遇到了同样的上传到 iTunes Store 时出错"的问题,我花了整晚的时间!

解决方法如下:

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

线程:https://devforums.apple.com/thread/147231

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

这篇关于上传到 iTunes Store 时出错 - 请升级 Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆