Oracle® Java Micro Edition Software Development Kit Release Notes Release 8 EA 2 for Windows E49310-01 |
|
Beta Draft: 2014-02-06
Release Notes
Release 8 EA 2 for Windows
E49310-01
February 2014
Contents
The following items are new in the Oracle Java ME SDK 8 Early Access (EA) 2 release:
Support for Oracle Java ME Embedded 8.0 Early Access 2, including improved integration with external devices, such as the Raspberry Pi and Qualcomm Orion Internet of Everything (IoE) hardware platforms.
Support for Device Access APIs, Version C, which provide enhanced device controls and improved input/output (IO) for small embedded devices.
Support for Connected Limited Device Configuration 8 (JSR 360)
Support for Java ME Embedded Profile (JSR 361)
Improved Virtual Machine (VM) configuration
Improved memory monitoring and CPU profiling on supported external devices
Terminated support for Mobile (CLDC) and CDC platforms.
Note: This is an Early Access release with limited features and testing. |
The Oracle Java ME SDK 8 EA 2 product has three distinct components:
The Oracle Java ME SDK 8 EA 2 base platform, which includes the runtimes (virtual machines), emulators, libraries, and more.
A separately-installable, supported IDE, such as NetBeans 8.0 Beta.
A Oracle Java ME SDK 8 EA 2 plugin for NetBeans 8.0 Beta. The plugin extends the NetBeans IDE so that it can seamlessly access the Oracle Java ME SDK 8 EA 2 features and utilities from the IDE.
Note: The NetBeans 8.0 Beta must be run with JDK 1.7 in order to work with Oracle Java ME SDK 8 EA 2 plugins. |
For working with Oracle Java ME SDK 8 EA 2, a minimal system configuration is:
Microsoft Windows 7 32-bit or 64-bit with recent service packs.
Java Platform, Standard Edition Software Development Kit (JDK) version 1.7 Update 25, or higher. JDK 1.7 must be on your Windows path.
NetBeans 8.0 Beta. To download the latest version, go to:
http://bits.netbeans.org/download/trunk/nightly/2014-02-03_00-01-07/
Note: Oracle Java ME SDK 8 EA 2 was tested with the following version of NetBeans 8.0 Beta ( |
Plugins make Oracle Java ME SDK 8 EA 2 platform features available to NetBeans 8.0 Beta. Plugins are delivered in two bundles.
Java ME SDK Tools. Required.
Java ME SDK Demos. Optional, but useful for getting started quickly. The documentation refers to these demos to illustrate features.
For more information on installing the Oracle Java ME SDK 8 EA 2 plugins, see the Oracle Java ME Embedded 8 Early Access Getting Started Guide for the Windows Platform.
Note: The samples do not implement security measures. The "Installation and Runtime Security Guidelines" suggest how to maintain an environment in which sample code can be run safely. |
Unpredictable emulator behavior if debugger is started twice. The user must not attempt to reinstall or run an application, if the application has previously been started in debug mode, but the debugger not attached. This scenario is not handled properly and can cause unpredictable emulator behavior.
Running cref
with a port larger than 65535 results in a misleading error message: p 1" - port number is smaller than well-known port 1024. The port should be less than 65535.
Table 1, "Known Bugs" lists the Oracle Java ME SDK 8 EA 2 bugs known to be in this release.
Table 1 Known Bugs
Bug Description |
---|
Connector.open() doesn't throw an exception while connecting to a closed port using the HTTP or HTTPS protocol The exceptions that are reported by the |
TCK: SignatureTest.html#SignatureTest_static test fails The static signature test from the TCK fails. |
[Raspberry Pi] Probe test makes I2C, SPI, UART not available When starting a probe test which tries to identify the available DAAPI Peripherals, the system tries to open and then close devices by ID from broad range. After that completes, attempting to open and use any of I2C, SPI, or UART peripherals will result in a Workaround: Restart the Raspberry Pi after that to have I2C, SPI, UART peripherals available again. |
DataOutputStream.close() never returns After sending large amounts of data using a |
The Settings.setProperty functions do not change any of the system properties After calling one of |
[Raspberry Pi]: Two TCK api/java_util/midp_overview/Service/index.html#Service tests fail Two TCK tests fail regarding the MIDP Service functionality. |
NullPointerException occurs when installing a Midlet that uses a Service Provider When installing a Midlet that uses a service provider, a |
TCK: event/EventManager/index.html#RegisterApplication Tests Result in an Abnormal VM termination Several of the Register Application tests, as specified in the TCK, may result in an abnormal termination from the Java VM. |
IOException in call to getLocalAddress() In rare instances, an |
NullPointerException occurs when calling MMIOEvent.getCapturedRegisterValue().byteValue(). When using the |
[Qualcomm IoE]: Unable to launch feature tests with EmbeddedExternalDevice While registering the Qualcomm IoE board as EmbeddedExternalDevice1, running the following command may throw an exception:
|
Unexpected ConnectionNotFoundException while using IMC Trying to connect using the following command ' |
[Qualcomm IoE] GPIO23 and ADC-MUX-SEL cannot be opened On the Qualcomm IoE board, GPIO pin 23 and the ADC-MUX-SEL device cannot be opened. |
There is no SocketConnection.getAccessPoint() method The |
Suite.getVersion() always returns null The |
The Device Manager crashes when a connected access point is removed and run again When an Access Point added using code is removed using the Device Manager and the Device Manager is closed and run again, it will crash. |
While debugging, not all watched variables and methods are evaluated On occasion, when debugging using NetBeans, not all watched variables and methods are evaluated, and warning messages may appear from NetBeans. This happens when debugging on both the emulator and also the device. |
TaskListener.notifyStatusUpdate(Task task, TaskStatus newStatus) may send wrong Task classname On occasion, the specified AMS method may send the display name, not the class name. |
Midlet START state cannot be moved to a STOP state when exceeding the maximum number of isolates When starting a Midlet when there are already the maximum number of Midlets running, as specified by the max isolates property, the system will allow it to start, but will not allow it to be moved to the stop state. Workaround: Do not run a number of Midlets exceeding the max isolates number in the configuration file. |
An Access Point that is connected using the emulator may not be visible to code If an access point is created (connected) using the emulator, the same access point may not be visible to any code that is running inside the emulator. |
Properties of an Access Point that is connected using the emulator are not visible to code If an access point is created (connected) using the emulator, the properties of that access point may not be visible to any code that is running inside the emulator. |
ATDevice is present but not documented An |
Profiler (CPU, Memory) on Orion does not work properly IMlet profiling does not work on Orion through the NetBeans IDE. An IMlet appears on an emulator AMS with "not running" statu. It cannot be run or removed. |
The Although the device log shows that an installed suite is assigned to a client, the |
The The |
Time spontaneously changes after the board is reset Right after your reset the board, the time is set to a proper value. However, in several seconds it may spontaneously increase. |
The Orion board cannot restore connection after restarting the Device Connection Manager After restarting the Device Connection Manager, the board cannot be connected again. The boards reboot helps. |
After the board is removed it cannot restore connection. After the board removal by means of the "Remove" button in the Device Connection Manager and further adding it by means of the "Add" button the board hangs in the "Connecting" state. The boards reboot helps. |
MMIO Event: Unexpected Event happens See the steps describe in the corresponding JIRA issue to reproduce the unexpected event. |
MEEP-TCK_10 tests fails The following MEEP TCK tests fails: |
Can not install MIDletSuite that depends on LIBlet with SWM API Although there are stack traces of exceptions in the log indicating that installation has failed, all MIDlets and LIBlets can be installed and started correctly. Exceptions do not influence the overall workability. |
Timestamps in BrewMP logger and calendar output differ The difference in BrewMP logger and calendar output constitutes 12 seconds, which indicates a bug in the calculating procedure. |
Test fails on HttpsConnection CLDC TCK tests under |
This release includes PDF documentation in the binary download. For an HTML version of the documentation that is suitable for screen readers, please visit the Java ME Developer Tools documentation page at http://docs.oracle.com/javame/developer.html
and choose this version of Oracle Java ME SDK 8 EA 2.
When using NetBeans 8.0 Beta, see the online help topic ”About Accessibility” for a complete list of keyboard shortcuts.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc
.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info
or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.
The Oracle Java ME SDK 8 EA 2 requires an execution model that makes certain networked resources available for emulator execution. These required resources might include, but are not limited to, a variety of communication capabilities between the Oracle Java ME SDK 8 EA 2 components. It is extremely important to note that the Oracle Java ME SDK 8 EA 2 installation and runtime system is fundamentally a developer system that is not specifically designed to guard against any malicious attacks from outside intruders. Given this, the Oracle Java ME SDK 8 EA 2 architecture can present an insecure operating environment to the Oracle Java ME SDK 8 EA 2 installation file system itself, as well as its runtime environment, during execution. For this reason, it is critically important to observe the precautions outlined in the following security guidelines when installing and running the Oracle Java ME SDK 8 EA 2.
To maintain optimum network security, Oracle Java ME SDK 8 EA 2 can be installed and run in a ”closed” network operating environment, meaning the Oracle Java ME SDK 8 EA 2 system is not connected directly to the Internet, or to a company Intranet environment that could introduce unwanted exposure to malicious intrusion. This is the ideal secure operating environment when it is possible. Oracle Java ME SDK 8 EA 2 does not require an ”Intranet” connection that supports network connections to systems outside the Oracle Java ME SDK 8 EA 2 architecture to intra-company resources.
An example of a requirement for an Internet connection is Oracle Java ME SDK 8 EA 2 running wireless functionality that requires a connection to the Internet to support the communications with the wireless network infrastructure that is part of the Java ME application execution process. Whether or not an Internet connection is required depends on the particular Java ME application running on Oracle Java ME SDK 8 EA 2. For example, some Java ME applications can use an HTTP connection. In any case, if the Oracle Java ME SDK 8 EA 2 is open to any network access you must observe the following precautions to protect valuable resources from malicious intrusion:
Installing the Java ME SDK Demos plugin is optional. Some sample projects use network access and open ports. Because the sample code does not include protection against malicious intrusion, you must ensure your environment is secure if you choose to install and run the sample projects.
Install the Oracle Java ME SDK 8 EA 2 behind a secure firewall that strictly limits unauthorized network access to the Oracle Java ME SDK 8 EA 2 file system and services. Limit access privileges to those that are required for Oracle Java ME SDK 8 EA 2 usage while allowing all the bidirectional local network communications that are necessary for Oracle Java ME SDK 8 EA 2 functionality. The firewall configuration must support these requirements to run the Oracle Java ME SDK 8 EA 2 while also addressing them from a security standpoint.
Follow the principle of ”least privilege” by assigning the minimum set of system access permissions required for installation and execution of the Oracle Java ME SDK 8 EA 2.
Do not store any data sensitive information on the same file system that is hosting the Oracle Java ME SDK 8 EA 2.
To maintain the maximum level of security, make sure the operating system patches are up-to-date on the Oracle Java ME SDK 8 EA 2 host machine.
Oracle® Java Micro Edition Software Development Kit, Release 8 EA 2 for Windows
E49310-01
Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate failsafe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
This documentation is in pre-production status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.