Home > Java Runtime > Java Runtime Error In Blackberry

Java Runtime Error In Blackberry

Contents

However, Java compatibility is not included in this matrix.BlackBerry Collaboration Service 10.2.3 is the latest version for BlackBerry Enterprise Service 10.2, and installs Java Runtime Environment 7 Update 25 by default.Documentation For Windows 2008 Servers: On the BlackBerry Enterprise Server, browse to C:\Program Files\Java\\bin\client.Right-click jvm.dll and select Properties.Click on the Details tab and select Product Name. BlackBerry Administration Service Native Code Container: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-NCC\Parameters Double-click the JVM Library string value.Enter the updated location of the jvm.dll file. The server must be restarted afterward. have a peek at this web-site

Note: If 64 bit Windows is installed, change the jvmpath to: installationdrive:\Program Files (x86)\Java\jre1.6.0_22\bin\client\jvm.dll. Please check the install log for more informationYou will see the following in the setup log:{0x118} 0235: (#30000) [PIPTOOL]: Installing JRE 1.6.0 update 15.{0x118} 0236: (#30000) [PIPTOOL]: The exit code of After making the above modifications and pointing to the updated versions of the jvm.dll file, the services can then be changed to Automatic and started. It is important to note that the registry keys are modified correctly and the Java JCE files are replaced after the upgrade/installation of a newer version of Java. Prior to upgrading to Java,

Bes 5 Compatibility Matrix

Repeat the above step for this registry location : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BlackBerry Collaboration Service Once the above changes have been made, start the following services: BlackBerry Administration Service - Application Server Note: The BlackBerry Refer to Point 3 for services affected.Uninstall existing version of Java Runtime Environment and Java Development Kit via Add/Remove Programs.Perform the installation of the new version of Java. BlackBerry Enterprise Service 10:BlackBerry Enterprise Service 10 version 10.0 components are unable to leverage the version of JBoss included with Java Runtime Environment 7.Starting in BlackBerry Enterprise Service 10 version 10.1, Java Runtime Environment 7

Update the the Registry settings: Log in to the BlackBerry Enterprise Server as the BlackBerry service account (BESAdmin).Open the Registry, navigate to each of the following keys, and make the listed Check to determine if a maintenance release exists which may contain the Java version needed to install by clicking here.Refer to the relevant Compatibility Matrix document to verify if the version you Refer to the BlackBerry Enterprise Service 10 Compatibility Matrix to verify if the version you wish to install has been certified as supported. Replace the US_export_policy.jar and the local_policy.jar files.

BlackBerry Enterprise Server is a 32-bit application and requires the download of the 32-bit version of Java. Java Basics Back to top ↑ Additional Information An upgrade to a version of BlackBerry Enterprise Server or BlackBerry Enterprise Service 10 that supports JRE 7 will not automatically uninstall existing versions of java.security.InvalidKeyException: Illegal key size Back to top ↑ Follow Us BlackBerry Blog Facebook Twitter Youtube Flickr Customer Service Contact Us Support Corporate Company Investors Careers News Customer Service Corporate Responsibility Legal BlackBerry Monitoring Console: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\BBMonitoringConsole\Parameters\Java Double-click the JVM string value.Enter the updated location of the jvm.dll file.

BlackBerry Enterprise Server 5.0 SP4 MR7 and later utilize the 32-bit version of the Java Runtime Environment version 7 software. Repeat the above step for this registry location : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BES - BlackBerry Collaboration ServiceManually update the BlackBerry Secure Connect Service configuration Open a Windows Command prompt window with Run As Administrator The BlackBerry Enterprise Service 10 version 10.0 utilizes both 32-bit and 64-bit versions of the Java Runtime Environment version 6 software.Following the installation of the BlackBerry Enterprise Service 10 version 10.0, Upgrading JRE on the BlackBerry Enterprise Server is not expected to negatively impact the BlackBerry software and BlackBerry Technical Support Services will support customers who have updated JRE on the same server.

Java Basics

Note: Do not change any other settings. More Bonuses Default service log files are not created, and in the Microsoft Windows Event Viewer, error codes are generic. Bes 5 Compatibility Matrix Incorrectly modifying the registry keys and not replacing the Java JCE files could cause BlackBerry Enterprise Server services to not start. Java Download After the services are stopped, complete the following steps: Open Regedit and modify the following registry keys to match the installation path of Java:Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS\Parameters Registry value: JVM Library =

Replace the US_export_policy.jar and the local_policy.jar files. Check This Out Click the Update tab.Clear the Check for Updates Automatically check box. Back to top ↑ Resolution Click here or visit the Microsoft Help and Support site and locate the article Windows root certificate program members.Download and install the root certificates. Back to top ↑ Follow Us BlackBerry Blog Facebook Twitter Youtube Flickr Customer Service Contact Us Support Corporate Company Investors Careers News Customer Service Corporate Responsibility Legal Info Overview Accessibility Trademarks

Back to top ↑ Additional Information Note: Download and install 32-Bit Java Runtime Environment for 32-bit and 64-Bit Windows operating systems. Note: This workaround was also successful using the default JRE 1.6.0 Update 18 that is included with the BlackBerry Enterprise Server extracted files and the jce_policy-6.zip from Java for step 10. Complete the following steps: Download the updated Java JRE 6 x86 version to be installed on the BlackBerry Enterprise Server from Oracle's website: http://www.oracle.com/technetwork/java/javase/downloads/index.htmlConfirm the current settings: For Windows 2003 Servers: Source Back to top ↑ Follow Us BlackBerry Blog Facebook Twitter Youtube Flickr Customer Service Contact Us Support Corporate Company Investors Careers News Customer Service Corporate Responsibility Legal Info Overview Accessibility Trademarks

Open the Windows Registry Editor (regedit.exe). ​​Warning: The following procedure involves modifying the computer registry. Download the JCE Jurisdiction Policy Files from Java. Complete the following: Download the Java JCE Jurisdiction Policy Files from Oracle's Sun Developer Network website: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html Note: The download is a zip file so the files will need to be

For BlackBerry Enterprise Server 5.0 to 5.0 SP4, the Java JCE Jurisdiction Policy Files will need to be replaced.

Back to top ↑ Follow Us BlackBerry Blog Facebook Twitter Youtube Flickr Customer Service Contact Us Support Corporate Company Investors Careers News Customer Service Corporate Responsibility Legal Info Overview Accessibility Trademarks Obtain both the 32-bit and 64-bit versions of the Java Runtime Environment software from Oracle. Note: If upgrading to a version for the Java Runtime Environment 7 which is higher than the version included in the most recent maintenance release, then it is advised to install Back to top ↑ Follow Us BlackBerry Blog Facebook Twitter Youtube Flickr Customer Service Contact Us Support Corporate Company Investors Careers News Customer Service Corporate Responsibility Legal Info Overview Accessibility Trademarks

Back to top ↑ Additional Information For more information on updating the Java Runtime Environment on BlackBerry Enterprise Server, see Article 17872. If an upgrade of Java is performed on the server, the following default services are affected: BlackBerry Administration Service - Application ServerBlackBerry Administration Service - Native Code ContainerBlackBerry MDS Connection Service Once the above changes have been made, start the following services: BES10 - Administration ConsoleBES10 - BlackBerry Administration Service - Application Server (the BlackBerry Administration Service - Native Code Container service have a peek here In the BAS-AS_err.log the following error is logged: Error encountered while starting server: java.security.InvalidKeyException: Illegal key size or default parameters com.rim.bes.bas.system.EncoderException: java.security.InvalidKeyException: Illegal key size or default parameters at com.rim.bes.bas.system.Encoder.decode(Encoder.java:505) at

Open the Registry on the BlackBerry Enterprise Server Click Start > Run and type regedit.Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service.Double-click on ImagePath and locate the path to thejvm.dll file. Newer versions of Java no longer install to the C:\Program Files\Java\jre1.6_update#. Instead the installation path is C:\Program Files\Java\jre and C:\Program Files\Java\jdk respectively. The installation path no longer needs to be modified during the Prior to proceeding with a manual upgrade of the Java Runtime Environment version 7 software, complete the following: Check Business Support to determine if a maintenance release exists which may contain Back to top ↑ Additional Information The following Errors can be see in the BlackBerry Enterprise Server logs if the Java updates are not installed correctly or if the JCE files

JDK installs into the correct path by default, but verify the installation path it installed to on your installation drive is: installation drive:\Program Files\Java\jdk1.6.0_22 or installation drive:\Program Files (x86)\Java\jdk1.6.0_22.Go into the Right-click and select Export to export the Registry for these keys as a backup: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection ServiceHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Collaboration Service For BlackBerry Enterprise Server 5.0, export the following registry keys as Note: The value of this REG_Expand_SZ should be similar to the following (some newer versions of Java are installed into \Java\jre6 directory, this is ok): "C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BBIM\bin\bcol.exe" Note: If 64 bit Windows is installed, change the jvmpath to = C:\Program Files (x86)\Java\jre1.6.0_22\bin\client\jvm.dll.

Java has changed the installation path from installationdrive:\Program Files\Java\jre1.6.0_update# to installationdrive:\Program Files\Java\jre6. Note: Do not change any other settings. Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Collaboration Service Registry value: ImagePath = " C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BBIM\bin\bcol.exe" -s jvmpath="C:\Program Files\Java\jre1.6.0_22\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss64K -Xmx512M -Xms128M classpathdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BBIM\classpath\\" wrkdir="C:\Program Files\Research Obtain the Java JCE Jurisdiction Policy files from Oracle.