Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
413 views
in Technique[技术] by (71.8m points)

xamarin.ios - 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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...