Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA
Accepted Solution

AIR 3.0 Beta 4 Installer Fails: java.lang.OutOfMemoryError: Java heap space

java.lang.OutOfMemoryError: Java heap space
at java.io.WinNTFileSystem.list(Native Method)
at java.io.File.list(Unknown Source)
at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:788)
at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706)
at javax.crypto.JarVerifier.access$400(JarVerifier.java:34)
at javax.crypto.JarVerifier$1.run(JarVerifier.java:183)
at javax.crypto.JarVerifier$1.run(JarVerifier.java:149)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148)
at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316)
at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261)
at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)
at javax.crypto.Cipher.getInstance(Cipher.java:498)
at com.zerog.ia.licensing.EditionHelper.decryptFromStore(Unknown Source)
at com.zerog.ia.licensing.EditionHelper.determineEdition(Unknown Source)
at com.zerog.ia.installer.Installer.be(Unknown Source)
at com.zerog.ia.installer.Installer.checkAuthorization(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.bv(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a1(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.az(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)

 

Running:

 

- Windows 7

- 16 GB RAM

- echo %JAVA_HOME%

   E:\Program Files\Java\jdk1.6.0_35

Developer
Posts: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: AIR 3.0 Beta 4 Installer Fails: java.lang.OutOfMemoryError: Java heap space

[ Edited ]

I found this page:

 

http://stackoverflow.com/questions/880855/increase-the-java-heap-size-permanently

 

And did the following from the Windows command line:

 

set _JAVA_OPTIONS=-Xmx4g

 

I then inspected the file the installer left on my Windows desktop, which was:

 

BlackBerry_10_SDK_for_Adobe_AIR_3.0.0_Install_11_30_2012_09_06_36.log

 

It gives the path of the installer temp directory, which for me was:

 

E:\Users\Daniel\AppData\Local\Temp\I1354238452\

 

So I then:

 

cd E:\Users\Daniel\AppData\Local\Temp\I1354238452\Windows

BlackBerry-Air-SDK-Installer-3.0.0.201211051306.exe

 

... and the installer ran ok.

Developer
Posts: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: AIR 3.0 Beta 4 Installer Fails: java.lang.OutOfMemoryError: Java heap space

On the installation directory screen, I specify:

 

E:\Program Files (x86)\Research In Motion

 

... as the install path, and I get the error:

 

Error!

 

You do not have write permissions to the chosen installation destination.

Please choose a different location for the installation.

 

I needed to explore to the "Research in Motion" directory, right click Properties, Security, and give my user permissions to that directory.

Highlighted
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: AIR 3.0 Beta 4 Installer Fails: java.lang.OutOfMemoryError: Java heap space

Are you running as admin?
Developer
Posts: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: AIR 3.0 Beta 4 Installer Fails: java.lang.OutOfMemoryError: Java heap space

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: AIR 3.0 Beta 4 Installer Fails: java.lang.OutOfMemoryError: Java heap space

I would try that.