Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

AppStore submissions fail after Java Update 2012-006 1.0

Dear All.


After running the Java Update 2012-006 1.0 submissions to the app store using XCode Organizer no longer work. Upload fails.

The error message is well known (an error occurred uploading to the itunes store) and it is also known that the error is related to Java as described in this post http://stackoverflow.com/questions/5783481/an-error-occurred-uploading-to-the-it unes-store - how ever the fixed described there did not work for me.


Uploading the app from a machine which did not run the update worked.


Best

Christian


Developer of [URL="https://itunes.apple.com/app/mailer-newsletter-group-mail/id321504812?mt=8"]Mailer[/URL] and [URL="https://itunes.apple.com/app/timer-with-sections/id315973422?mt=8"]Timer[/URL].

Posted on Oct 20, 2012 12:15 PM

Reply
17 replies

Oct 26, 2012 9:47 PM in response to Christian Fries

Same situation for me. I have not tried the fixes as I believe it is an Apple problem with XCode and Application Loader and not a Java problem. Some of the proposed fixes are old by now anyway and allude to Java Preferences in Application/Uitilities which no longer exists after the latest update to OS X.

I could not distribute using Organizer OR Application Loader and get the same error message for both. Watching the activity in Application Loader it shows that the validation is complete and just fails at the upload.

iTunes Connect support has been notified, but it could be a wait before hearing a response.

I also submitted the error to Apple through Aplication Loader as well.


I really would like to get a fix for this issue and upload my new app.

Oct 28, 2012 11:02 AM in response to fr8tdog

fr8tdog wrote:


All of those fixes predate the latest Java Update 2012-006. I have tried them without success.

No. There are 8 replies after that update. There are no other indications on the forums that anyone else is having trouble. Double check to make sure you don't have an old version of the application loader. or something. I suggest posting your own reply in that thread with as much detail as possible.

Oct 28, 2012 12:44 PM in response to Christian Fries

Fixed... Here is what I did.


To start with I had installed Oracles Java 1.7 JDK, which was really messing things up.

Went to Finder>Applications and entered in Search box - JavaAppletPlugin.plugin

Right clicked and removed to trash.


A check in Terminal for Java version still showed Java 1.7


my-imac:~ my$ java -version

java version "1.7.0_07"

Java(TM) SE Runtime Environment (build 1.7.0_07-b10)

Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)


1. Finder>Computer>Library>Java>JavaVirtualMachines showed the 1.7 SDK (make note of exact name of the Directory name)


Just in case anything went wrong I copied the 1.7 SDK folder to my desktop before doing the next item


2. In terminal type


cd /Library/Java/JavaVirtualMachines


3. You should now be in that directory


sudo rm -rf jdk1.7.0_06.jdk (or whatever the exact name of the directory is in step 1.)


You may have to enter your administrator password


The directory should now be deleted and you can verify in Terminal by

java -version


Mine now showed "Java 1.6_xxx"


Went into Xcode Organizer and distributed my app to the iTunes store without a problem. Whoo,hoo!

Jan 3, 2013 10:47 PM in response to fr8tdog

Hey, Your note definitely worked, but there is an easier way to go about it. Here is how I did it:


  1. Open Java Preferences in Utilities Folder
  2. You Should see 1.6 and 1.7 there, uncheck 1.7
  3. Voila!


You can check terminal and see that when unchecking the 1.7 Java SDK, the active version is 1.6. Immediately after checking it, 1.7 is back.

AppStore submissions fail after Java Update 2012-006 1.0

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.