Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Install Jdk1.5.0 Under Fedora Core 4, Share my experience
jedipi
post Jul 25 2005, 06:59 AM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 352
Joined: 2-March 05
From: Australia
Member No.: 2,859



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/

Go to the top of the page
 
+Quote Post
madcrow
post Jul 25 2005, 11:13 AM
Post #2


Advanced Member
Group Icon

Group: Members
Posts: 196
Joined: 12-April 05
Member No.: 3,899



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.
Go to the top of the page
 
+Quote Post
qwijibow
post Jul 25 2005, 12:58 PM
Post #3


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



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.
Go to the top of the page
 
+Quote Post
hatim
post Jul 25 2005, 05:00 PM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 196
Joined: 17-June 05
From: Topi,Swabi,NWFP,Pakistan
Member No.: 6,301



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..
Go to the top of the page
 
+Quote Post
BabyTux
post Aug 9 2005, 10:09 AM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 21
Joined: 2-March 05
From: Auckland, New Zealand
Member No.: 2,849



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
Go to the top of the page
 
+Quote Post
xboxrulz
post Aug 9 2005, 11:44 PM
Post #6


Colonel Panic
Group Icon

Group: [MODERATOR]
Posts: 2,850
Joined: 25-March 05
From: Toronto, Ontario, Canada
Member No.: 3,233
myCENTs:98.66



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Why Can't I Install Software As Root?(7)
  2. Fedora Core 4(6)
  3. Gentoo Install Help(9)
  4. Install Linux Without Format Or Partitioning(6)
  5. Minor Knoppix Problems(6)
  6. Ubuntu Install Cd - Xp Crash When Browsing Cd(8)
  7. Fedora Core 4: A New User's First Impressions(18)
  8. Any Beginner Tutorials On Fedora Core 4 ?(4)
  9. How To Install Applications In Fedora(12)
  10. Suse 10.0 Won't Install?(17)
  11. Fix Fedora 5 Add/Remove Software Problem(2)
  12. Fedora Core 5 Problems(5)
  13. How Do You Install Fonts Under Gnome 2.14.0(3)
  14. Installing Mysql (fc5)(3)
  15. Fedora Core 5 Under Virtual Pc(5)
  1. Problem With Fedora Core 5 Installation(14)
  2. Fedora Directory Server(0)
  3. Using Ndiswrapper In Fedora Core 6(4)
  4. Fedora Core 6 Install Problem(6)
  5. Help Create A Program To Automatically Install Wireless Drivers On Linux(1)
  6. Looking For Linux(34)
  7. Setting Up Fedora Core For Web Hosting(0)
  8. Mysql Build/install Problems(4)
  9. How To Install Linux Without A CD or DVD?(11)
  10. Linux For Beginners- Easy To Install(16)
  11. Strange Error When Trying To Install Fedora Core 9(6)
  12. Ubuntu- How To Install C/ C++ Compilers.(3)
  13. Linux Software Installation Help(2)


 



- Lo-Fi Version Time is now: 21st November 2008 - 09:20 PM