Installation Instructions. Install formats. Self-extracting Binary File - This file can be used to install the Java 2 Runtime Environment in a location chosen by the user. This one can be installed by anyone (not only root users), and it can easily be installed in any location. As long as you are not root user, it cannot displace the system version of the Java platform suppled by Linux. To use this file, see below.
RPM Packages - A rpm.bin file containing RPM packages, installed with the rpm utility. Requires root access to install, and installs by default in a location that replaces the system version of the Java platform supplied by Linux.
To use this bundle, see below. Installation of Self-Extracting Binary 1. Download and check the download file size to ensure that you have downloaded the full, uncorrupted software bundle. You can download to any directory you choose; it does not have to be the directory where you want to install the Java 2 Runtime Environment. Before you download the file, notice its byte size provided on the download page on the web site. Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal. Make sure that execute permissions are set Run this command: chmod +x j2re-142-linux-i586.bin 3.
Change directory to the location where you would like the files to be installed. The next step installs the Java 2 Runtime Environment into the current directory.
Run the self-extracting binary. Execute the downloaded file, prepended by the path to it. For example, if the file is in the current directory, prepend it with './' (necessary if '.'
Is not in the PATH environment variable):./j2re-142-linux-i586.bin The binary code license is displayed, and you are prompted to agree to its terms. The Java 2 Runtime Environment files are installed in a directory called j2re1.4.2 in the current directory. Follow this link to see its. Note about Root Access: Unbundling the software automatically creates a directory called j2re1.4.2. Note that if you choose to install the Java 2 Runtime Environment into system-wide location such as /usr/local, you must first become root to gain the necessary permissions. If you do not have root access, simply install the Java 2 Runtime Environment into your home directory, or a subdirectory that you have permission to write to.
Note about Overwriting Files: If you unpack the software in a directory that contains a subdirectory named j2re1.4.2, the new software overwrites files of the same name in that j2re1.4.2 directory. Please be careful to rename the old directory if it contains files you would like to keep. Note about System Preferences: By default, the installation script configures the system such that the backing store for system preferences is created inside the Java 2 Runtime Environment's installation directory. If the J2RE is installed on a network-mounted drive, it and the system preferences can be exported for sharing with Java runtime environments on other machines. As an alternative, root users can use the -localinstall option when running the installation script, as in this example: j2re-142-linux-i586.bin -localinstall This option causes the system preferences to be stored in the /etc directory from which they can be shared only by VMs running on the local machine.
You must be root user for the -localinstall option to work. See the documentation for more information about preferences in the Java platform. Installation of RPM File 1. Download and check the file size. You can download to any directory you choose.
Before you download the file, notice its byte size provided on the download page on the web site. Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal.
Extract the contents of the downloaded file. Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract the RPM file: chmod a+x j2re-142-linux-i586-rpm.bin./j2re-142-linux-i586-rpm.bin Note that the initial './' is required if you do not have '.' In your PATH environment variable.
The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates the file j2re-142-linux-i586.rpm in the current directory. Become root by running the su command and entering the super-user password. Run the rpm command to install the packages that comprise the Java 2 Runtime Environment: rpm -iv j2re-142-linux-i586.rpm 5.
Delete the bin and rpm file 6. Exit the root shell. Java Web Start Installation Notes This Java 2 Runtime Environment release includes Java Web Start; it is installed automatically with the Java 2 Runtime Environment. But note the following:. Compatibility: The release of Java Web Start that comes with this SDK/JRE can be run on SDK/JRE 1.2.2 or later. It will not work with SDK/JRE 1.1.x or earlier.
Java Goals
Upgrading from Previous Versions: If you have a previous release of Java Web Start, do not uninstall it. Uninstalling it will cause the download cache to be cleared, and all previously installed Java Web Start applications will have to be downloaded again.
Java
This new release will overwrite previous installations and automatically update browsers to use this new release. The configuration files and program files folder used by Java Web Start have not changed, so all your settings will remain intact after the upgrade.
Using Java Web Start with Netscape 6.x/7.x: For Netscape 6.x/7.x users, setup the Java Web Start MIME type (JNLP) in the Edit-Preferences-Navigator-Helper Applications section. The file extension is jnlp; MIME Type is application/x-java-jnlp-file. It should be handled by the javaws executable file in your Java Web Start directory.
Also note that, due to a problem with the JavaScript in Netscape 6.x/7.x, you must use the non-JavaScript version of the demos page Installation Notes Java 2 Runtime Environment, Standard Edition Version 1.4.2 Linux. Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.
It is intended for information purposes only, and may not be incorporated into any contract.
JRE (J2RE/JRE) Java Runtime Environment - If you don't plan to create apps yourself, then this is enough. The Runtime Environment for Linux contains the Java Virtual Machine , Java core classes, and supporting files.
It does not contain any of the development tools (such as appletviewer or javac) or classes that pertain only to a development environment. The Java 2 Runtime Environment is smaller than the Java 2 SDK The Sun's Java 2 Runtime Environment is redistributable, unlike the Java 2 SDK. The Java 2 Runtime Environment License ( ) allows you to package it with your software. By distributing the Java 2 Runtime Environment with your application, you can ensure that your customers will have the correct version of the runtime environment for running your software. The Java 2 Runtime Environment can NOT be distributed as part of Debian as it would violate Sun's license for the software. One of the requirements for redistributing the is that you not distribute any other software intended to supersede the functionality of the. As Debian distributes free projects like Kaffe, we can not distribute the JRE.
On Microsoft Windows platforms, but not in Linux, the Sun's Java 2 Runtime Environment's installer automatically installs the java and javaw application launchers in a location that's on the operating system's default system path. That means you don't have to worry about finding the launchers to start your application, and you don't have to provide instructions to your users for fiddling with the paths on their systems. This can be imitated in. See See also:. For creating Java apps,.
Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
Registration is quick, simple and absolutely free. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The device complies with the latest Hi-Speed USB 2.0 standards, backward compatible with USB1.1 specification, with ultimate increase on read and writes speed. Afm steno repair. OVERVIEW Thank you for purchasing this USB 2.0 Flash Drive.
Are you new to LinuxQuestions.org? Visit the following links: If you have any problems with the registration process or your account login, please. If you need to reset your password,.
Having a problem logging in? Please visit to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. To receive this Complete Guide absolutely free. Sco1984, Debian 4.0 is somewhat an older Debian Stable OS. I believe its classified as 'older Stable'.
Like others have suggested, install the latest Stable - Lenny. Your experience will be better. If some people think Debian Stable 5.0 apps are behind the technical curve - and I really don't think so, Debian (older Stable) 4.0 is even further behind. I don't want to throw any more doubt into the mix by suggesting using Testing (Squeeze). But before you go any further, try the latest Debian Stable (Lenny-5.0) Save yourself some time and effort and use Lenny. Also Jre runtime is in the repos. I'm certain it's in 4.0 (Etch) repos as well as the new Stable (Lenny) reposes.
It's a simple matter of - as root - apt-get install sun-java-jre. 5 for Etch and 6 for Lenny. Or do a search for it with Synaptic. Use the command jre or Java. And if you want to install Flash, it's also there. I know for a fact it's not necessary to add 'backports' to your sources.list in order to add flash or java or many other things. Unless you want to upgrade certain applications.
Of course the contrib and media repos are necessary for other apps. Don't be so quick to add backports.
Try it without them first. Then add them if necessary. But wait until needed. I've never used them at all.
Nor have I had the need. Adobe's Flash is not now, nor will it ever be in the 'stable' repo. Adobe Flash Player is and cannot be in a stable Debian release, as Adobe doesn't provide security support for older versions (see ).
The easiest way to install flash is with the flashplayer-mozilla package from; there is also a flashplugin-nonfree package for testing, sid and backports.org users. The only way to get Adobe's Flash and not one of the 'free' versions like gnash is either to use backports.org or the dmm repos if you are running Debian stable.
Java in Etch Available free Java implementations can be listed via 'apt-cache search java-virtual-machine'. If you need to run software not supported by free implementations (e.g. Anything not in main and some websites using java controls), install sun-java5-plugin from or sun-java6-plugin from. For Lenny, testing, sid For the java plugin install either the icedtea-gcjwebplugin (free) plugin or the sun-java6-plugin. For other java programs (lenny onwards), you can install the default-jre package to get install a java runtime, or 'apt-cache search java-virtual-machine' to see other implementations.The best options are probably openjdk-6-jre or sun-java6-jre. Quote: T60:/home/amey# java -version java version '1.5.0' gij (GNU libgcj) version 4.3.2 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. T60:/home/amey# still iceweasel cant open freenode java based web page. 2nd thing wi-fi got working in this edition. 1 strange problem its not mounting my external maxtor 500 gig HDD. When I use mount -t ntfs /dev/sdb1 /mnt/maxtor it says Permission denied. I tried powering off maxtor hdd and turned on.
Same problem. Also tried rebooting Debian. Installed all fuse & ntfs packages via synaptic from DVD 1. Still its not mounting any ntfs partitions.
Regards, AmeY. Code: intranet:/etc/apt# update-alternatives -config java There are 3 alternatives which provide `java'.
Selection Alternative -. 1 /usr/lib/jvm/java-6-sun/jre/bin/java 2 /usr/bin/gij-4.3 + 3 /usr/lib/jvm/java-gcj/jre/bin/java Press enter to keep the default., or type selection number: 1 Using '/usr/lib/jvm/java-6-sun/jre/bin/java' to provide 'java'. Intranet:/etc/apt# update-alternatives -config javac There are 4 alternatives which provide `javac'. Selection Alternative -. 1 /usr/lib/jvm/java-6-sun/bin/javac 2 /usr/bin/ecj 3 /usr/bin/gcj-wrapper-4.3 + 4 /usr/lib/jvm/java-gcj/bin/javac Press enter to keep the default., or type selection number: 1 Using '/usr/lib/jvm/java-6-sun/bin/javac' to provide 'javac'.And you are done. You have your JRE and the browser plugin. And i will use this post to ask if there is a better jvm than sun?
Just wondering, faster and ligther. Let me know if this worked. When I run above command I get following error Why is that? Regards, AmeY. Sco1984, for the KEY for the backports or any new repository added: # If you get errors about missing keys, lookup the key in this file # and run these commands (replace KEY with the key number): # gpg -keyserver subkeys.pgp.net -recv KEY # gpg -export -armor KEY apt-key add - Where the word KEY is, insert the numbered key asked for.
Then apt-get update. You should not get the error message again. Since I can't remember the command, I usually add this to the end of my /etc/apt.sources.list file along with the comments (#) as you see for easy reference.