Skip navigation
Currently Being Moderated

Mac Java Update kills Flash iOS Publisher

Oct 19, 2012 9:43 PM

Hello

 

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:

http://www.theinquirer.net/inquirer/news/2218580/apple-removes-java-pl ugin-from-os-x-web-browsers

 

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.

 

Error:

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 adobe.abc.LLVMEmitter.loadJNI(LLVMEmitter.java:582)

    at adobe.abc.LLVMEmitter.<clinit>(LLVMEmitter.java:596)

    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)

    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:245)

    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:571)

    at com.adobe.air.ADT.run(ADT.java:419)

    at com.adobe.air.ADT.main(ADT.java:469)

 
Replies
  • Currently Being Moderated
    Oct 19, 2012 11:27 PM   in reply to painschen

    I had an issue with java but for windows not Mac. My command lines didn't work with java 7 so i went back to 6 (jdk 1.6) and it worked again.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 29, 2012 1:35 AM   in reply to painschen

    how can I restore this files from timemachine?

    If I do a normal restore, the timemachine told me, that this files can not be restored, because it is a systemfile!?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 30, 2012 5:11 AM   in reply to painschen

    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?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 30, 2012 5:55 AM   in reply to painschen

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 1, 2012 10:38 PM   in reply to painschen

    I have a same problem. Unfortunately, I don't have a backup of the iOS. What should I do?

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2012 4:41 AM   in reply to jin hyun
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 20, 2012 10:27 AM   in reply to painschen

    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:

     

    1. Go to /System/Library/Java/JavaVirtualMachines
    2. Remove JDK 1.7.0 Developer Preview.jdk (I just moved mine to the Desktop, just in case).
    3. Launch Flash Builder 4.6 (FB automatically installs Java 1.6.0_37 if it's not on your system)

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 15, 2012 9:02 AM   in reply to VMCC

    I am still having this problem.  None of the above has worked for me.  I'm totally stuck until this gets fixed!  Anyone else have any suggestions??

     

    Michael

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2013 2:15 PM   in reply to rodolfo1216

    It's definitely a java version problem. I removed 1.7.0.jdk folder both under following directories and fixed the problem.

    /Library/Java/JavaVirtualMachines

    /System/Library/Java/JavaVirtualMachines

     

    Good luck..

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 12, 2013 12:34 PM   in reply to painschen

    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

     

    Cheers

     

    Andrew

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points