This is related to this question
Submit Application not possible
However after the most recent java update from apple (that removed the web plugin) oracle immediatley issued an update for java 7
Now xcode can’t upload anymore “An error occurred uploading to the iTunes Store” and the old fix doesn’t work. Is Java 1.6 gone? Or do we need to do something else?
You can do this in terminal
Then copy out the Current and CurrentJDK folders to the desktop or other location and
This fixes the upload issue then when you are done in Terminal
Then copy the originals back from the desktop and you Java will be working again.