LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install JDK on fedora 8? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-jdk-on-fedora-8-a-624418/)

rIcKy RoCk$ 02-28-2008 03:52 AM

How to install JDK on fedora 8?
 
I want to install Netbeans 6.0 on my linux system, the problems i am facing are :

1. how to install jdk-6u3-linux-i586-rpm.bin

2. how to install netbeans-6.0-linux.sh

I am very new to linux. Please help me out n this one...

paragkalra 02-28-2008 05:40 AM

Quote:

1. how to install jdk-6u3-linux-i586-rpm.bin
#sh jdk-6u3-linux-i586-rpm.bin
Quote:

2. how to install netbeans-6.0-linux.sh
#sh netbeans-6.0-linux.sh

alan_ri 02-28-2008 06:37 AM

This is for jre but it should help,you just have to enter different data.

Installation of RPM File

Use these instructions if you want to install J2SE Runtime Environment in the form of RPM packages. If you want to use the self-extracting binary file instead, see Installation of Self-Extracting Binary.
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.
2. Become root by running the su command and entering the super-user password.
3. Extract and install 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 and run the RPM file:
chmod a+x jre-1_5_0_<version>-linux-i586-rpm.bin

./jre-1_5_0_<version>-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 and runs the file jre-1_5_0_<version>-linux-i586.rpm in the current directory.
NOTE - If instead you want to only extract the RPM file but not install it, you can run the .bin file with the -x argument. You do not need to be root to do this.
4. Delete the bin and rpm file if you want to save disk space.
5. Exit the root shell.

I think that sh ./netbeans-6.0-linux.sh would be the wright command for installation of netbeans.


All times are GMT -5. The time now is 04:19 AM.