People who are reading this forum might be interested to know that, today,
Sun released the General Availability (GA) version of Java Real-Time System
(Java RTS) 2.2, and that free evaluation versions are available for downloading:
When you select a Java RTS 2.2 eval through the latter link, the download link
will be sent to you by e-mail after you fill out and submit a quick survey. As part
of the download process, you'll also need to agree to the terms of a click-through
evaluation e-license -- an academic license for evaluators at any educational
institutions and a 90-day license for any other evaluators.
The supported platforms for Java RTS 2.2 are:
# Solaris10 (SPARC, x86), Update 6 and 7
# Linux (x86), SUSE Linux Enterprise Real Time and RedHat Enterprise MRG
For both OS categories, Java RTS 2.2 provides both 32-bit and a 64-bit support.
For more information on OS support and new features/functionality introduced in
Java RTS 2.2, please see the Release Notes for Java RTS 2.2:
For the full collection of in-depth technical product documentation for Java RTS 2.2,
please start at:
Relative to Java RTS 2.1, Java RTS 2.2 provides various important enhancements
-- including the following:
# 64-bit support for the supported platforms. In addition to 64-bit support,
32-bit support continues to be provided
# Faster throughput -- Java RTS 2.2 includes the new C1 compiler targeted for
Java SE 7 which contains several performance improvements including a new
# Various tools enhancements, including:
- - - TSV (Thread Scheduling Visualizer). The following improvements have been added:
- - - - - - Ability to monitor a live VM without special options
- - - - - - Per-CPU view
- - - - - - Thread-ID based coloring scheme
- - - - - - Thread migration and lock contention summary generation
- - - - - - TSV recording advanced-user support
- - - NetBeans plug-in support for Java RTS and TSV
# New Initialization-Time-Compilation (ITC) options. Enhancements include:
- - - Wild card support for denoting a set of methods vs single method
- - - Support for specifying compilation based on thread type
# RTGC auto-tuning and startup improvements
# New documentation, including a Java RTS Quick Start Guide to get new users started
# Bug fixes and clean-up
If you would like to send Java RTS related questions or feedback to Sun, here are some ways
in which you can do so:
- To submit new feature requests (for future Java RTS releases):
- To submit evaluation feedback (report issues, bugs, etc.):
- To submit product inquiries (request general product info, licensing info, etc.):
Carlos B. Lucasius
Java SE Embedded and Real-Time Engineering
Sun Microsystems, Inc.
Edited by: datech on Oct 5, 2009 7:14 PM
I have a problem with installing the 2.2 version.
When I try to compile a HelloWorld.java, it complains:
dl failure on line 824Error: failed /opt/sunrts-2.2/jre/lib/i386/server/libjvm.so,
because libcap.so.1: cannot open shared object file: No such file or directory
The installation package name is :
- I just untar the downloaded tarball and try to run it.
My rt-linux is configurations are :
2.6.21-rc6-rt0.090405 #3 SMP PREEMPT Sun Apr 5 17:07:49 CEST 2009 GNU/Linux
2.6.22-14-server #1 SMP Tue Feb 12 03:10:53 UTC 2008 GNU/Linux
I get the same error for both of them. My 2.1 version is working correctly.
Thank you for any help.
JRTS 2.2 requires the use of libcap. It appears that your Linux distribution does not have libcap available, or else not in the expected place.
What Linux are you using (it does not appear to be a supported platform) ? Can you install libcap?
I was under the impression that libcap was a standard feature of Linux distributions.
I am using Ubuntu linux with RT_PREEMPT patch. The version 2.1 is working on this configuration without any problems.
Libcap is also installed:
Please, do you think that there is there any reason why the version 2.2. is not supported by this configuration? (while the version 2.1 is working?)
Once the libcap problem is resolved 2.2 should work no better and no worse than 2.1 on that platform as far as I am aware. But this is an unsupported platform and we've never tried running there.
I'm guessing libcap is not installed properly or else ldd is trying to find it in a different place. Not sure what to suggest here. Try seeing what "ldd <jrts-dir>/jre/lib/i386/client/libjvm.so" shows for libcap and then check it exists and is readable.
It seems RTS is refering to libcap.so.1 while ubuntu lucid is prepd with libcap.so.2.
Has anyone been working on this to get lucid compatible with RTS 2.2?
Ill see what I can do and post here if I find a solution..
I accually seems to work just by changing the name of the libcap1 link file (lib/libcap.so.1) to lib/libcap.so.2. it still points to libcap.so.1.x
I dont know how well this will work in the long run, but I can now compile and run a few simple realtime apps on lucid.