this is the solution found in the above link
I had the same problem with iTunes Producer: My book would not upload to the Apple store with this error:
Java 1.5, 1.6, or 1.7 is required. Currently, java is the default java version. Please upgrade.
In my research on the web, I have found that there is a bug with the latest Java upgrade from Apple. This bug prevents the iTunes Producer scripts from connecting up with the Apple store.
Thanks to mmadness quoting an Apple email that explains a workaround to create a symlink.
I typed the following into the Terminal and hit return:
This command moves me to the correct folder.
Then I typed in and then hit return:
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
And I got this rather intimidating response:
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
I entered my mac's admin password, hit return, and it accepted the command.
Then I typed in the second command and hit return:
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
This command was accepted as well.
I quit Terminal and started Producer. The delivery went right through. Thanks to all and I hope this helps.
Ah. Well in any case the security concern trumps any bug in the iBA ecosystem that is not compatible. Here's Apple's latest tech notes in case anyone needs it.
If the new update is really screwing things up for people you should all use the Feedback / Bug Report option in the iBA menu and let Apple now. The more people who complain the faster it will get fixed.