Nov 8, 2009

Install Jdk1.5.0 Under Fedora Core 4 - Share my experience

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Linux

Install Jdk1.5.0 Under Fedora Core 4 - Share my experience

jedipi
Install jdk1.5.0 under Fedora core 4

I used to use JDK1.4.2.
However JDK 1.5.0 was released long time ago.
Today, I got it updated.

Here are the steps for newbies:

1. Download Jdk1.5.0. This is a must smile.gif. Everone know where to get it.
anyway, here is the address:
http://java.sun.com/j2se/1.5.0/download.jsp
The newest version is JDK 5.0 Update 4.
you can choose Linux self-extracting file or Linux RPM in self-extracting file.
For me, I use Linux self-extracting file (jdk-1_5_0_04-linux-i586.bin)

2. Change the directory to where you save the .bin file.
then run/execute it.
CONSOLE

./jdk-1_5_0-linux-i586.bin

A directory jdk1.5.0_04 will be extracted automatically.
After that, move the directory jdk1.5.0_04 to /usr/local/. Easy!!??

3.Setup evironment variable.
For normal user, you need to edit your user profile
it locates in your home directory, ~/.bashrc
use you favorite text editor to open it, and add the follow content into it.
CODE
JAVA_HOME=/usr/local/jddk1.5.0_04
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME PATH CLASSPATH


4.install java plugin for firefox
CONSOLE
ln -s /usr/local/dk1.5.0_04/jre/plugin/i386/ns7/libjavaplugin_oji.so /root/.mozilla/plugins/

 

 

 


Comment/Reply (w/o sign-up)

madcrow
Well it doesn't look too hard to do, but what advatages does 1.5.0 bring that aren't present in 1.4.x ? Is there anything that is so urgent that we can't wait for pre packaged RPMs.

Comment/Reply (w/o sign-up)

qwijibow
only redhat based package managed distro's can properly use RPM's. that is one reason.
anouther is that version 1.5 has a 64bit version available.

Comment/Reply (w/o sign-up)

hatim
QUOTE (madcrow @ Jul 25 2005, 04:13 PM)
Well it doesn't look too hard to do, but what advatages does 1.5.0 bring that aren't present in 1.4.x ? Is there anything that is so urgent that we can't wait for pre packaged RPMs.
*


Well JDK 1.5 has a thing called generaic which is similar to STL. Also the JRE has improved UI and Performance ..especially the JNLP aka Java Web Start.

It has its advantages ..but I think Java 1.4 will stick around for another year or so in both JDK and JRE ..

What do you people think..

Comment/Reply (w/o sign-up)

BabyTux
QUOTE (jedipi @ Jul 25 2005, 07:59 PM)
CODE
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar


Is it ok to set classpath like that? I've seen many people set it this way:
CLASSPATH=.:$JAVA_HOME/jre/lib

Comment/Reply (w/o sign-up)

xboxrulz
I just noticed this but, Jedipi, NEVER EVER RUN ROOT AS YOUR REGULAR DAY USER, IT MAY CAUSE YOUR MACHINE TO PRACTICALLY EXPLODE IF YOU ACCIDENTALLY DELETE SOMETHING!

xboxrulz

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : install, jdk1, 5, 0, fedora, core, 4, share, experience

  1. Fedora 10 Hits An Update Snag
    (8)
  2. Linux Software Installation Help
    it tells how to install software in tar.bz2 or .bin extension (2)
    installing .tar.bz2 software open the terminal window.Place the s/w in root's home..then
    write file.tar.bz2 in terminal. uncompressing will take place.a folder with .tar extension will b
    created.Now write tar -xvf filename.tar,contents will be read..Now,move to the directory just
    created..read the readme file..follow instruction such as make or make install to be commanded in
    terminal...now its done..use it by writing in terminal for ex. mplayer movie.avi. ..or just drop ur
    movie file nin the terminla..nd remove the " " in the file..append mplayer with blank spa....
  3. Ubuntu- How To Install C/ C++ Compilers.
    (4)
    Once you install Ubuntu. If you want to develop code in C or C++ you need to update the package.
    Default install will not come with development tools. Synaptic pckg manager is a very usefull
    tool in ubuntu. This can be used to install many development tool. Just look for Synaptic pckg
    manager and put check for gcc 3.4 or later, glibc or any other package you need, then update.
    Your ubuntu is now ready to use for C,C++.... /smile.gif" style="vertical-align:middle" emoid=":)"
    border="0" alt="smile.gif" /> ....
  4. Strange Error When Trying To Install Fedora Core 9
    (6)
    Hi all, I tried to install Fedora Core 9 in a VmWare virtual machine under WinXP. I downloaded the
    DVD ISO image and proceeded with the installation. When the process was started since about a
    minute, the following error did show: "The file evince-2.22.1.1-1.fc9.i386.rpm cannot be opened.
    This is due to a missing file, a corrupt package or corrupt media" Fine, I told to myself,
    let's download the ISO image again, this time from a different server, just in case. No joy,
    same error. Tried another couple of times, each one using a different server for the download. Sa....
  5. Linux For Beginners- Easy To Install
    (16)
    Which Linux distru is for beginners and Easy to install?....
  6. How To Install Linux Without A CD or DVD?
    Would like to learn how to use Linux but don't know how to install (11)
    Hey! I've tryed to install linux without a cd (as they said on the website).. But I did'nt
    understand it so good =/ Can anyone please tell me how I can install linux without a CD? Any
    version.. The only thing I need is a fast one (faster than windows).. I am completly new (never
    tried it before) and would want to learn Linux. But thats not easy, if I don't know hoiw to
    install it /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Thanks
    //Feelay....
  7. Mysql Build/install Problems
    (4)
    Hi I recently downloaded the mysql source for Linux. I downloaded it from packages.ubuntu.com (my
    version of linux is Ubuntu 7.10 (Gutsy Gibbon). here are my problems Installing Mysql: This is the
    command I use to configure: ./configure --prefix=/usr/local/mysql
    --with-named-curses-libs=/usr/lib/ncurses.a (the --with-named-curses-libs=/usr/lib/ncurses.a is to
    fix a bug that occurs when installing on Ubuntu) And this is the error I get: Does anyone know
    how to fix this? I've looked it up, but I can't find the answer anywhere.....
  8. Setting Up Fedora Core For Web Hosting
    Not as easy as you might think! (0)
    On several occasions, I have attempted to install Linux on my computer in a dual boot format to
    learn how to use Linux and more importantly, learn how to set up a web server. In the past, I have
    installed a couple of versions of Red Hat, Unbuntu, Gentoox, GoblinX, and now a couple of versions
    of Fedora Core. The only thing all of these have in common is that installation is problematic at
    best. While most distributions of Linux include all the required software to set up a server, I
    have never been able to realy get it done. Finding where Apache's configuration....
  9. Looking For Linux
    2 choices that I will choose - make it easy to install and MAINTAIN (34)
    Ok I have tried Linux before, it was ok, until something with the kernel screwed up and it left me
    with a command line interface that I didn't know what to do. I am looking for 2 different
    distributions of Linux here, my first one is for: (Currently running Windows XP SP2) A computer
    with 512 MB RAM Pentium 4 processor Internet Access GNOME or KDE desktop, doesn't matter Minimal
    command line work!!! Absolutely no command line work when installing. I have tried Ubuntu, it was
    easy enough. Anything easier than Ubuntu and I'll give it a try. My second cho....
  10. Help Create A Program To Automatically Install Wireless Drivers On Linux
    (1)
    Some of our fellow Ubuntu users are putting together software to automatically detect and install
    wireless drivers for a variety of wireless cards and they need our help. If your wireless connection
    is working, please run the command and post the result on the Ubuntu forums thread linked to below.
    This is the only deterrent to Linux on many laptops.
    http://ubuntuforums.org/showthread.php?t=547444 This was never actually meant to be a Ubuntu
    thing. It doesn't matter which distribution you're using; running that command and posting
    the output would be a great h....
  11. Fedora Core 6 Install Problem
    (7)
    I have tried three times to get Fedora Core 6 to install but I keep getting the same error message:
    “there was an error running your transaction, for the following reason(s): file conflicts”. I am
    using all of the default settings except changing the time zone and basically installing all
    packages. The error always happens near the end of the fifth disk. I have run sha hash checking on
    all media and everything checks out. Has anyone had this problem or a possible solution?....
  12. Using Ndiswrapper In Fedora Core 6
    Installation Error (4)
    Hi, I have been trying to install my wireless pcmcia card onto fedora core 6. to do this i have been
    trying to use ndiswrapper http://ndiswrapper.sourceforge.net but with no luck. i am using
    ndiswrapper-1.34 and i keep running into some problems. I can successfully complete the make
    distclean, make and make install (root) commands and they work without a problem. It is only when i
    try to enter the command ndiswrapper -i filename.inf (replacing filename.inf with the .inf file of
    my pc card) i get the following error QUOTE # ndiswrapper -i WG511v2.INF bash: nd....
  13. Fedora Directory Server
    Anybody uses it? (0)
    Some time ago Red Hat acquired Netscape's Directory Server and release it under open source
    licence renamed Fedora Directory Server. Does onybody use it, or simply try? What future of FDS do
    you predict? Give your opinion.....
  14. Problem With Fedora Core 5 Installation
    In fact after installation..... (14)
    I was trying to load Fedora into my Machine. After 30 minutes of smooth run, I succeeded in
    installing it. All along my mouse was working just fine. After the installation was complete, when I
    rebooted the machine still mouse was fine. Now finally after I give the user ID and password fpr
    login, the mouse pointer just disappeared!!! Well, the mouse still works. When I move the mouse the
    items get highlighted. When I double click the highlighted item, it opens the application. The
    scroll button is working fine. but.... The mouse pointer is not being displayed!!! I trie....
  15. Fedora Core 5 Under Virtual Pc
    (5)
    Has anyone got Fedora Core 5 running under Microsoft’s Virtual PC? I have been using
    http://vpc.visualwin.com/ as a reference which says it is possible. I lowered my RAM to 624 MB and
    finally got the installation to work. My problem now is when it start up the login screen is very
    distorted. I suspect a bad video card driver but I have no idea on how to change it. P.S. I know
    this is not directly related to this group but I figured this was the best place.....
  16. Installing Mysql (fc5)
    yum install mysql (3)
    I'm having a problem with my Fedora Core 5 server. I need to install MySQL but it won't. I
    keep running the command under root: yum install mysql which should install all the clients but it
    won't. It gives me this: CODE # yum install mysql Loading "installonlyn" plugin Setting up
    Install Process Setting up repositories
    core                                                                
    updates                                                              
    extras                                                               Reading repository metad....
  17. How Do You Install Fonts Under Gnome 2.14.0
    Gnome 2.14.0 (3)
    I've copied my truetype fonts from windows for use on my linux system. I've been searching
    and tried a few things with no luck. thanks for any help! F....
  18. Fedora Core 5 Problems
    Installing packages (5)
    Whenever I try to install a package, I get the following error message in the shell: QUOTE
    Loading "installonlyn" plugin Setting up Install Process Setting up repositories updates Cannot find
    a valid baseurl for repo: updates Error: cannot find a valid baseurl for repo: updates Thanks
    for any help trying to fix this! F Edit: This was linked to an ISP problem that I verified with
    a friend on the same ISP. Apparently they were having some problems because I also couldn't
    access SourceForge or Photobucket. They've seem to have fixed the problem. F....
  19. Fix Fedora 5 Add/Remove Software Problem
    fix the problem that cannot add/remove software without Internet conne (2)
    The add/remove software in Fedora 5 just does not work if you machine is not connected to the
    Internet. It wont add or remove any package for you even though you have the disks. If you read
    files in /etc/yum.repos.d/, you will understand. Fedora 5 will connect to redhat's website when
    you want to update your Fedora. Here is a simple way to update your fedora 5 via FC5 iso file. 1,
    move all files, which are under /etc/yum.repos.d directory, to other directory. for example, backup
    directory. 2. create a new directory *.reop in /etc/dym.repos.d Copy and Paste the ....
  20. Suse 10.0 Won't Install?
    (17)
    I don't get this... I've downloaded the 5 (?) CD set of SuSE 10. It installs PERFECTLY
    however, the last step, the hardware thing (I forget what it is called), it quits on it and
    won't boot SuSE, it goes DIRECTLY into YaST and it's an endless loop... anyone else have
    similar install problems? Thanks! F....
  21. How To Install Applications In Fedora
    noob question (16)
    I'm a linux user since a few days, i've decided to change to linux coz i'm not very
    pleased with Windows versions . So i wonder how do i install aplications like Files Sharing and mp3
    ?....
  22. Any Beginner Tutorials On Fedora Core 4 ?
    Any tips or tutorial? (4)
    Hi, I am new to Linux and I wanted to get to know how to use Feroda Core 4 Linux and does anyone has
    any tutorial or tips that I can get hold on it. I am really hoping that someone could help me
    in.Maybe some ebook recommend or internet tutorials.....
  23. Fedora Core 4: A New User's First Impressions
    (18)
    Hello all! I've been messing around with Linux for the past couple of days, and in the process
    I destroyed my Windows 2K installation. I tried Gentoo, however that's a story for another post.
    What I'm focusing on here is Fedoracore 4 Linux, i386. Installing I must say that it was a
    major let down to see a graphical installation system. It's not that I have anything against GUI
    s, it's just that it doesn't feel like Linux, ya' know? The GUI lets you manually
    partition your drives and select all the packages you want installed. However, yo....
  24. Ubuntu Install Cd - Xp Crash When Browsing Cd
    what happened? (8)
    i downlaoded the ubuntu install cd the other day and tried to burn the image to cd using nero. i was
    using a cd-rw and i both finalise and didnt finalise and both times the cd was not booted from and
    when i looked at the contents xp just crashed. what happened - any ideas. also i has a broken
    gentoo/98 dual boot with grub on the 3rd partition. i reformated the 3rd partition forgetting about
    grub becasue unbuntu is going on (networkless) and now grub is messed up. can i reinstall grub off
    the gentoo install cd? if so what base commands do i need. thanks very much in adv....
  25. Minor Knoppix Problems
    will they stay in a proper install (6)
    there are the occational problem that i have on knoppix that i would like to know if i will have
    them when i install linux. i.e. file format issues - especially music files .wma? dvd player wont
    play one of my dvd's some of the programs on the menu dont start when i click on them gaim wont
    work just wondering....
  26. Install Linux Without Format Or Partitioning
    (6)
    Would you like to try Linux Operatin System without Installing it or Formatting the computer? Well,
    YOU CAN! Linux is now available to run on disc straight from the CD without installing on the
    computer. Download the disc 100% LEGAL Have fun /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" />....
  27. Ubuntu! Install
    My weekend project (5)
    Well this weekend I decided to skip mini distrabutions and go for another larger install, I still
    dont really want to install Debian or Fedora Core, so I decided this time I'd look at the
    screenshots and see what my cup of tea was. So first thing was first, boot into Puppy and backup my
    personal stuff, so on goes my old PC and it boots perfectly as normal, up until it comes to starting
    the window manger (X), it doesnt load, so I type "xwin" and it doesnt start, it just says to xwin if
    I want to restart the interface. So at that point, I really cant be bothered, so ....
  28. Gentoo Install Help
    emerging packages (9)
    hi linux users i've now got a stable gentoo base but i cant seem to install any packages. this
    is on a differnet not internet computer to this one. i have installed quite an old version (kernel
    2.4) 2004.3 but i have the 2005 packages cd. i looked at the online gentoo install handbook 2005 but
    it has the same instructions as the 2004.3 handbook. when is try to emerge the packages the computer
    tried to go online to find the packages instead of going to the cd and looking there. obviously no
    internet makes it fail. it is a p3 so 86x structure. that may not be enough....
  29. Fedora Core 4
    Just made it through (6)
    After doing a complete backup of Fedora Core 3, I thought it was time to try Fedora Core 4 out. You
    wouldn't believe the hassle I had with it, but nothing I couldn't overcome, but I would hate
    to see someone fall into that very same pit as it's definitely not an easy task, so I'll
    just outline what I did if anyone does fall into this. My system specifications for this: Dual CPU
    PIII 1GHz 2GB SDRAM 2 Hard Drives @ 200MB 4 CDROM Devices (DVD Writer, CD ReWriter, DVD ROM and CD
    ROM) ViewSonic 19" Monitor PS/2 Mouse and Keyboard SBLive with 5.1 Speakers T....
  30. Why Can't I Install Software As Root?
    (7)
    When I become root with "su -" and try to install some software, such as firefox, it then
    says:"(firefox-installer-bin:3645): Gtk-WARNING **: cannot open display:" What's the meaning
    of this information? And how can I deal with it? Thanks!....

    1. Looking for install, jdk1, 5, 0, fedora, core, 4, share, experience

See Also,

*SIMILAR VIDEOS*
Searching Video's for install, jdk1, 5, 0, fedora, core, 4, share, experience
Similar
Fedora 10 Hits An Update Snag
Linux Software Installation Help - it tells how to install software in tar.bz2 or .bin extension
Ubuntu- How To Install C/ C++ Compilers.
Strange Error When Trying To Install Fedora Core 9
Linux For Beginners- Easy To Install
How To Install Linux Without A CD or DVD? - Would like to learn how to use Linux but don't know how to install
Mysql Build/install Problems
Setting Up Fedora Core For Web Hosting - Not as easy as you might think!
Looking For Linux - 2 choices that I will choose - make it easy to install and MAINTAIN
Help Create A Program To Automatically Install Wireless Drivers On Linux
Fedora Core 6 Install Problem
Using Ndiswrapper In Fedora Core 6 - Installation Error
Fedora Directory Server - Anybody uses it?
Problem With Fedora Core 5 Installation - In fact after installation.....
Fedora Core 5 Under Virtual Pc
Installing Mysql (fc5) - yum install mysql
How Do You Install Fonts Under Gnome 2.14.0 - Gnome 2.14.0
Fedora Core 5 Problems - Installing packages
Fix Fedora 5 Add/Remove Software Problem - fix the problem that cannot add/remove software without Internet conne
Suse 10.0 Won't Install?
How To Install Applications In Fedora - noob question
Any Beginner Tutorials On Fedora Core 4 ? - Any tips or tutorial?
Fedora Core 4: A New User's First Impressions
Ubuntu Install Cd - Xp Crash When Browsing Cd - what happened?
Minor Knoppix Problems - will they stay in a proper install
Install Linux Without Format Or Partitioning
Ubuntu! Install - My weekend project
Gentoo Install Help - emerging packages
Fedora Core 4 - Just made it through
Why Can't I Install Software As Root?
advertisement



Install Jdk1.5.0 Under Fedora Core 4 - Share my experience

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com