Sun Java Solaris Communities My SDN Account Join SDN
 
Documentation

Java 2 SDK, Standard Edition, v. 1.4.2 Installation Notes

 

Installation Notes

Java 2 SDK, Standard Edition, v. 1.4.2
and NetBeans IDE 3.5.1
Software Cobundle for the Linux Operating System

  Japanese

This download contains both the Java 2 SDK, Standard Edition (Java 2 SDK), v. 1.4.2 for the Linux operating system and the NetBeans IDE 3.5.1 integrated development environment.

This file can be used to install the Java 2 SDK software and NetBeans IDE in a directory of your choice. You do not have to be a root user to use this installer unless you choose to install this cobundle in a system-wide location.

Both Java 2 SDK, v. 1.4.2 and NetBeans IDE 3.5.1 have been tested on the following Linux distributions:

  • Linux Red Hat 7.2
  • Linux Red Hat 8.0

Installing the Java 2 SDK, v. 1.4.2 and NetBeans IDE 3.5.1 Software Cobundle

Download the installation file into a directory of your choice.

Check that the file that you have downloaded, j2sdk-1_4_2-nb-3_5_1-bin-linux.bin, has the same number of bytes that is indicated on the download page. If the file size does not match, the file might have been corrupted during download. In that case, try downloading again.

Prepare for installation.

  1. Verify that your system meets or exceeds the recommended minimum hardware requirements:
    • Pentium III processor, 500 MHz.
    • 256 MBytes RAM.
    • 365 MBytes free space. This number includes:
      • 235 MBytes of permanent disk space needed to install the cobundle.
      • 130 MBytes of temporary disk space needed for installation. The installer uses the /tmp or the /var/tmp directory for the temporary files.
  2. Change to the directory where you downloaded the installer file.
  3. Type: chmod 755 j2sdk-1_4_2-nb-3_5_1-bin-linux.bin
    to change permissions on the installer file to allow execution.

Run the installer.

  1. Type the following command from the directory where you placed the installation file:
  2. ./j2sdk-1_4_2-nb-3_5_1-bin-linux.bin
  3. Respond to each page of the install wizard.

    You must agree to the license agreement.

  4. When the installation is complete, you can review the log file and then delete the download file to recover disk space.

The installer creates three subdirectories in this install directory:

  • j2sdk1.4.2 - contains the Java 2 SDK, v. 1.4.2 software
  • netbeans3.5.1 - contains the NetBeans IDE 3.5.1 software
  • _uninst - contains the uninstall jar and custom uninstall script.

Note: If you choose to install this cobundle into system-wide location such as /usr/local, you must first become root to gain the necessary permissions.

Troubleshooting

During installation, the installer could stop running with the following message: "The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag." Do not run the installer with the -console or -silent flag, as these flags are not supported. Instead, follow the directions below:

  • If your DISPLAY environment variable is not correctly set, type the following command in a C shell:
    setenv DISPLAY your-local-host:0.0
  • If you are running the installer remotely and the host name is not allowed access to the local server, follow these steps:
    1. Run the following command on the local server where display is used:
      xhost +remote-host-name

    2. Run the cobundle installer.

    3. Immediately after the installer finishes, run the following command on the local server:
      xhost -remote-host-name
      This last step is particularly important since the xhost + command disables security and makes systems vulnerable to a variety of attacks.

Finding Additional Documentation

For additional documentation on Java 2 SDK, v. 1.4.2, visit http://java.sun.com/j2se/1.4.2/docs/.

For a description of the Java Plug-in software, go to http://java.sun.com/j2se/1.4.2/docs/guide/plugin/.

For notes on registering the Java Plug-in software with Netscape browsers, go to http://java.sun.com/j2se/1.4.2/install-linux.html#plugin.

For a description of the Java Web Start software, go to http://java.sun.com/j2se/1.4.2/docs/guide/jws/.

For additional notes on installing the Java Web Start software on Linux, go to http://java,sun.com/j2se/1.4.2/install-linux.html#jws.

NetBeans IDE is primarily documented through the IDE's help system. For additional documentation on NetBeans IDE, go to http://www.netbeans.org/kb/.

Uninstalling the Java 2 SDK, v. 1.4.2 and NetBeans IDE 3.5.1 Software Cobundle

There are two ways to uninstall the software. Go to the _uninst subdirectory, which can be found in your original installation directory. You will see two files called custom-uninstall and uninstall.jar.

Type ./custom-uninstall

    This script runs in silent mode and removes both the Java 2 SDK, v. 1.4.2 software and NetBeans IDE 3.5.1. When you use this script, you might need to review the log file and remove it manually after the script completes.

Alternatively, you can execute the jar file by typing:

../j2sdk1.4.2/bin/java -jar uninstall.jar

Providing Feedback

To report a bug or to request a feature for the Java 2 SDK, v. 1.4.2 software, please refer to the following web site: http://java.sun.com/cgi-bin/bugreport.cgi.

To submit comments or suggestions about the Java 2 SDK, v. 1.4.2 software, please send email to the most appropriate Java technology engineering team.

For information on contacting the NetBeans software development team and participating in the NetBeans software community, go to http://www.netbeans.org/contact.html.

To submit feedback about this documentation, please send email to Documentation Feedback.

To learn about NetBeans IDE and the NetBeans software community, visit http://www.netbeans.org.