Java 2 SDK v1.3.0 for Solaris Release NotesJava 2 SDK Standard Edition, v1.3.0 is supported on Solaris 8, Solaris 7, and Solaris 2.6 operating environments.
The most up-to-date version of these release notes may be found online:
The documentation that accompanies this release is intended to supplement the Java 2 SDK documentation set available at: http://java.sun.com/j2se/1.3/docs Specific information regarding compatibility of Java 2 SDK v1.3.0 with previous releases is available in the Developer's Guide and online at: http://java.sun.com/j2se/1.3/compatibility.html Product Summary and EnhancementsThe Java 2 SDK, Standard Edition, v. 1.3.0 is the latest release of the Java 2 Platform for the Solaris operating environment. It includes the following new features and enhancements: Performance EnhancementsThis release of the Java 2 SDK contains two VM implementations, each with Java HotSpot technology. The Java 2 Client VM is the default VM, specially tuned for fast start-up times for client-side applications. The Java 2 Server VM is tuned for fastest peak operating speed for long-running server-side applications. In addition, the class libratires have been tuned for better performance. In particular, JFC/Swing and AWT libraries make GUI-based applications better start-up time, more responsive, faster operation, and smaller memory footprint. Applet Caching and Automatic Deployment of Optional PackagesApplet caching ensures that often-used applets are always available for rapid loading and fast staru-up by keeping copies of the applets in a local cache. This does away with the need for a browser to download the applet over the network every time it's needed - the local cached copy can be rapidly loaded instead. Optional packages are sets of features and APIs that, while not part of the Java 2 Platform, are available separately for developers to use for specialized programming needs. Examples of optional packages are JavaHelp and JavaMail. The Java 2 SDK v1.3 introduces a feature that enables applets to specify version and vendor information for any optional packages that they require. RMI-IIOP AddedThe Java 2 SDK includes two significant enhancements to support for CORBA technologies: a production CORBA IDL compiler written in the Java language and the RMI over IIOP API. CORBA IDL (Interface Definition Language) defines only interfaces for distributed systems. By using a neutral language to define interfaces, CORBA can support multiple languages. For the first time, the Java 2 SDK includes an IDL compiler to compile language-neutral CORBA IDL into standard Java language bindings. These language bindings work with the JavaIDL Object Request Broker to support traditional CORBA programming in the Java language. Java Naming and Directory Interface (JNDI) AddedJNDI enables developers to add naming and directory functionality to applications. JNDI consists of an API and SPI (Service Provider Interface). Java applications use the API to access a variety of naming and directory services. The SPI enables a variety of naming and directory services to be plugged in transparently, allowing the Java application using the JNDI API to access their services. Java Sound AddedJava 2 SDK includes the Java Sound API which define a set of standard classes and interfaces for low-level audio support. The Java Sound API enables Java programs to capture, process, and play audio and MIDI (Musical Instrument Digital Interface) data. The Java Sound API is supported by an efficient sound engine which guarantees high-quality audio mixing and MIDI synthesis capabilities for the platform. Additionally, the API defines a set of service provider interfaces which developers may use to extend the capabilities of the current implementation. Users can install modules that provide support for additional file formats, codecs, and devices. Limitations in this ReleaseThis release has the following known limitations, which are described briefly below along with workarounds when available. The descriptions provide links to the full bug reports on the Java Developer Connection web site for more information. Unless otherwise noted, these limiations apply to all supported platforms.
TextField Problem in UTF-8 LocalesOn Solaris platforms with UTF-8 locales, textfields in frames that have been packed are not properly sized. This may cause problems with how the text is displayed including no text displayed at all. To workaround the problem, resize the frame that contains the textfield(s) and the text will be displayed properly. This problem is being tracked as bug number 4366053.
Java Plug-in Fails to Load on Netscape BrowserOn first attempt, the Netscape browser sometimes fails to load Java Plug-in 1.3 correctly. If you see this problem, close and restart the browser. The browser will correctly load the Java Plug-in on the second attempt. This problem is being tracked as bug 4358142. Drag and Drop LimitationPerforming several (about 10 or 15) rapid drag-and-drop operations in succession may result in a thread error message, or, in the worst case, the cursor may freeze and the screen will stop responding to user action. This problem is being tracked as bug 4313374. libmawt.so Not Loaded Properly on Solaris 2.6/IntelOn Solaris 2.6 for Intel x86 platforms, the libmawt.so library is not loaded properly. This problem may manifest itself in several ways, depending on the application. Some typical symptoms: Product NotesStdout and Stderr for Child ProcessesThe behavior of the output and error streams of child processes is different in this production release of J2SE than it was in the previously available reference implementations of J2SE. (The behavior of streams has not changed as compared with previous production versions of J2SE.) Unlike the reference implementation of J2SE 1.3, the streams in this production version are not automatically read in the background. If you see that a process forked using Runtime.exec() hangs after printing substantial output to its stdout or stderr streams, please try something like the following:Then, after creating the process: Interface sun.tools.debug Not SupportedJ2SE 1.3 includes the Java HotSpot Client VM and Java HotSpot Server VM. These VMs support the new Java Platform Debugger Architecture (JPDA), a set of interfaces designed for use by debuggers in development environments. See the JPDA documentation for details.http://java.sun.com/j2se/1.3/docs/guide/jpda/The sun.tools.debug interface that was compatible with the VM implementation in previous releases of the Java platform is obsolete and is not supported by J2SE 1.3. Java Native InterfaceFor compatibility with existing JNI applications, J2SE 1.3 contains the following symbolic link:This links the location that the VM had in J2SE 1.2 to the location of J2SE 1.3's default VM, the Java HotSpot Client VM./usr/j2se/jre/lib/<arch>/libjvm.so --> /usr/j2se/jre/lib/<arch>/client/libjvm.so Font Packages InformationPlease refer to the README for information related to the font packages. Viewing Java man Pages
Per-Process File Descriptor ( fd ) LimitsThe maximum recommended open fd s for Solaris 2.6 is 1024. For Solaris 7 and subsequent releases, the maximum is 65527. Native Method Interface (NMI) Applications Not Supported by This Release
Release Version
International Locale SupportIn the following table, the locales supported by J2SE 1.3 are indicated with an X. For a list of patches required for support of various locales, see the patch lists in the README.sparc or README.i386 file. InstallationThis section discusses problems you may encounter both during and after installation. Recommendations for dealing with such problems are provided when available. For installation instructions, refer to README.sparc or README.i386 files that accompany this release. The top level directory where the J2SE files are installed is determined by the BASEDIR parameter in the admin file (see admin(4) and pkgadd(1) for details). This release uses /usr as the default BASEDIR value and stores files under the directory $BASEDIR/j2se . For example:
Running with Multiple VersionsThe /usr/java symbolic link is used to define the default Java environment on a Solaris system when more than one Java environment is installed. Currently, JDK 1.1 is installed in /usr/java1.1, J2SE 1.2.2 is installed in /usr/java1.2, and J2SE 1.3.0 is installed in /usr/j2se. Prior to the Solaris 8 release, the /usr/java symbolic link pointed to /usr/java1.1 if both JDK 1.1 and J2SE 1.2.2 were installed. Starting with the Solaris 8 release, the /usr/java symbolic link points to /usr/java1.2 by default if both JDK 1.1 and J2SE 1.2.2 are installed. Since there are symbolic links in /usr/bin (also known as /bin) that use /usr/java (for example, /usr/bin/java refers to /usr/java/bin/java), this /usr/java link can change the default Java installation seen by most users. Many Java applications run on any of J2SE 1.3.0, J2SE 1.2.2, or JDK 1.1, but users and applications might want to be selective about which Java installation they use. Java users that want to use JDK 1.1 should add /usr/java1.1/bin to their PATH settings before /usr/bin. Java users that want to use J2SE 1.3.0 should add /usr/j2se/bin to their PATH settings before /usr/bin. Also, depending on the situation, you might need to make changes to other environment variables such as CLASSPATH, LD_LIBRARY_PATH, or JAVA_HOME, although none of these environment variables are required. It is possible for root users to make J2SE 1.3.0 the default Java platform by modifying the /usr/java symbolic link to point to /usr/j2se. However, changing the symbolic link in this manner may cause problems for some Java applications that are expecting to use earlier versions of the Java platform. See the online compatibility documentation for incompatibilities between J2SE 1.2 and J2SE 1.3. http://java.sun.com/j2se/1.3/compatibility.html TroubleshootingNon-default InstallationIf you get a message that readsfirst check that your PATH, CLASSPATH, JAVA_HOME and LD_LIBRARY_PATH variables, if set, point consistently to the correct Java installation. If these variables are consistent, and you are running native code through JNI, check the JNI documentation: http://java.sun.com/j2se/1.3/docs/guide/jni. Location of libjvm.so filesIf you use the Invocation API to launch an application directly rather than using the Java application launcher, be sure to use the correct paths to invoke the Java HotSpot Client VM or Java HotSpot Server VM as desired. The path within the SDK to the Java HotSpot Client VM isjre/lib/sparc/client/libjvm.so (on SPARC)The path to the Java HotSpot Server VM is jre/lib/sparc/server/libjvm.so (on SPARC) See also the section on the Java Native Interface for information about setting LD_LIBRARY_PATH. The Exact VM and Classic VM are no longer part of the Java 2 platform, and legacy code that uses the Invocation API to launch an application based on old paths to the Exact or Classic VMs will not work. libthread panic or I/O exception
If you get an error message mentioning a
The Java2D demo is an example of an application that requires a higher file descriptor limit than the default. The number of file descriptors can be increased in the C shell (
The number of file descriptors can be increased in the Bourne shell (
Solaris patch installation
If you get a message such as the following, refer to the You must install Solaris patches to run this version of the Java runtime environment.
NOTE: It is essential that you install the appropriate Solaris patches in order for the SDK to function properly. The http://java.sun.com/j2se/1.3/install-solaris-patches.html If there is a libthread patch required for your version of Solaris software, it should always be installed after the other appropriate patches in the readme . Out of Memory/Internal Error for Applications Embedding the Java virtual machineIf you get a message that reads ***Out of memory, exiting*** or a VM internal error in an application which embeds the VM, check to see that the application is linking with libthread.so before libjvm.so. In this event, messages will appear in the early phase of VM initialization, for example in the call to JNI_CreateJavaVM.To avoid this problem, link libthread before libjvm or set LD_PRELOAD to include libthread.so. In csh , type: In sh or ksh , type:setenv LD_PRELOAD libthread.so LD_PRELOAD=libthread.so export LD_PRELOAD NOTE: For more information, see the ld.so.1(1) man page . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||