I'm using the AIR SDK 3.4.2710 and was working on my Apple Mac with Tiger fine until yesterday.
But after an update yesterday, apple removed the java plugin from mac:
Iinstalled the latest java jdk 7 and jse7 (1.7) versions and added the plugins again.
I can see the Java Window in my system again, but there is no chance to publish the app file.
Exception in thread "main" java.lang.Error: Unable to find llvm JNI lib in:
/Applications/Adobe Flash CS6/AIR3.4_2710/lib/adt.jar/Darwin
/Applications/Adobe Flash CS6/AIR3.4_2710/lib/aot/lib/x64
/Applications/Adobe Flash CS6/AIR3.4_2710/lib/adt.jar
/Applications/Adobe Flash CS6/AIR3.4_2710/lib
at com.adobe.air.ipa.AOTCompiler.generateExtensionsGlue(AOTCompiler.java :419)
at com.adobe.air.ipa.AOTCompiler.generateMachineBinaries(AOTCompiler.jav a:1790)
at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.jav a:378)
at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:76 2)
at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.j ava:91)
i restored this files from my timemaschine of 09/2012:
now it's working again, but i cant update my mac in the future.
so it would be nice if adobe makes the ios publisher working on java7, please!
sorry, forget to write: you just have to copy the folders named with "java" of the mentioned paths!!
and i didnt make a regular restore with the time maschine application. i just copied each folder from timemaschine backup storage to the mac system. just overwrite the folder and it will work.
Thanks for your reply, I have copy all folders which contains java from the backup, under /Application/Utilities I found nothing to copy. Know my Flash Builder told me on every start: "Failed to create the Java Virtual Machine.".
Can you list all files or folders, which I should copy?
I've got an application called "Java Preferences" inside the /Applicaton/Utilities/ folder.. so it's very strange that your backup dont have that. Can you find that on another backup or internet?
I'm not on my mac at the moment, but in another topic i've read about that:
/System/Library/CoreServices/Java\ Web\ Start.app/
Great! You missed the folder /System/Library/Java/ in your first post. After copy this folder too, it works again for me.
The Java Preferences.app from the /Application/Utililities folder was not needed in my case.
After updating to Mountain Lion OSX 10.8 I found that Java had been updated to 1.7 and I could no longer compile IPAs.
I was able to revert to Java 1.6 using the following method:
After this I was able to compile IPAs again.
Note that I have no idea if removing JDK 1.7.0 has any other repercussions to the OS.
It's definitely a java version problem. I removed 1.7.0.jdk folder both under following directories and fixed the problem.
I finally got this going after lots of headaches. The problem I was having with some of the above solutions is that Flash Builder could not find or install the JDK 1.6. I had to do some detective work in order to figure out the exact settings. I wrote a blog post on how to get back up and running. Check it out at http://www.247sw.ca/revert-to-java-1-6-jdk-on-mac-mountain-lion