08. juni 2003 - 10:43Der er
11 kommentarer og 1 løsning
Redhat og JAVA
Jeg har brug for noget hjælp til at få lagt JAVA på redhat. Ind til videre har jeg downloadet j2sdk-1_3_1_08-linux-i586.rpm.bin, men jeg skal lige være helt sikker på hvad jeg skal gøre med den :-)
Rolig nu. Jeg var bare lidt for hurtig til at stille spørgsmålet i dette forum. I er allesammen rigtigt dygtige og jeg er helt ny i Linux verden så bær lidt over med mig
jeg er da helt roligt.. det er kun et spørgsmål om at når du opretter et spørgsmål og selv løser det, så er det kotyme at poste svaret, så andre der har samme problem (og evt søger her på eksperten.dk) kan finde svaret og dermed hjælpe sig selv.
Vi vil gerne hjælpe.. Men husk der er andre herinde end dig.
Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file.
2. Copy j2sdk-1_3_1_<version number>-linux-i586.bin to the directory into which you want to install the Java 2 SDK.
3. Run j2sdk-1_3_1_<version number>-linux-i586.bin
Launch the executable file you downloaded, j2sdk-1_3_1_<version number>-linux-i586.bin, by using the following commands from the directory in which it is located:
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will install the Java 2 SDK in a directory named jdk1.3.1_<version number> in the current directory.
Note about root access - Unbundling the software automatically creates a directory called jdk1.3.1_<version number>. If you choose to install the Java 2 SDK 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 SDK into your home directory, or a subdirectory that you have permission to write to.
Note about overwriting files - If you unpack the software or documentation in a directory that contains a subdirectory named jdk1.3.1_<version number>, the new software will overwrite files of the same name in that jdk1.3.1_<version number> directory. Be careful to rename the old directory if it contains files you would like to keep.
Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file.
2. Run j2sdk-1_3_1_<version number>-linux-i586-rpm.bin and agree to the license it displays.
Launch the executable file you downloaded, j2sdk-1_3_1_<version number>-linux-i586-rpm.bin, by using the following commands from the directory in which it is located:
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file jdk-1.3.1_<version number>.i386.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.
4. Run the rpm command to install the packages:
rpm -iv jdk-1.3.1_<version number>.i386.rpm
This will install the Java 2 SDK at /usr/java/jdk1.3.1_<version number>. You should include /usr/java/jdk1.3.1_<version number>/bin in the setting of your PATH environment variable, and remove paths to old, previously installed Java 2 SDK versions.
Okay, kan du fortælle mig præcis hvad jeg skal skrive
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.