Fedora Linux Support Community & Resources Center
  #1  
Old 1st November 2005, 08:40 PM
CICA Offline
Registered User
 
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75
Arrow Java Installitation

Hi guys,

Can anyone please advise what I need to install inorder to run java programs on my system? Is it j2re? Never done any java programming before but I would like to become more familiar with it...

Many thanks
Kind regards
CICA
__________________
Fail to Prepare. Prepare to Fail...
Reply With Quote
  #2  
Old 1st November 2005, 08:46 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,330
This is the most discussed topic on FC4. Besides doing a search of the Forum, which will provide tons of good information, you might also want to consider the instructions here: http://www.fedorafaq.org/ and here: http://stanton-finley.net/fedora_cor...ion_notes.html and here: http://shamsweb.50webs.com/faq.html#repo
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 1st November 2005, 08:49 PM
CICA Offline
Registered User
 
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75
Thanks mate... I'll take a look.
CICA
__________________
Fail to Prepare. Prepare to Fail...
Reply With Quote
  #4  
Old 1st November 2005, 09:03 PM
CICA Offline
Registered User
 
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75
Ok guys... follow this link for easy installitation steps to install JRE on your system

http://forums.fedoraforum.org/forum/...nstalling+Java

Just one more question and hopefully someone can help. If for example I had a java program (test.java) and I wanted to compile and run it . What is the command I use from the command line to
Firstly: compile
Secondly:run

Thanks in advance for any help
CICA
__________________
Fail to Prepare. Prepare to Fail...
Reply With Quote
  #5  
Old 1st November 2005, 09:26 PM
CICA Offline
Registered User
 
Join Date: Jun 2005
Location: Edinburgh
Age: 31
Posts: 75
JDK installitation

Just had a lsearch around and found out it's the JDK that I require, and installitation instructions for this can be found at :

http://fedoranews.org/mediawiki/inde...ls_from_Extras

So I''ve got it sorted now...

Thanks
CICA
__________________
Fail to Prepare. Prepare to Fail...
Reply With Quote
  #6  
Old 2nd November 2005, 07:51 AM
thuan1975 Offline
Registered User
 
Join Date: Aug 2005
Posts: 23
Hi. I know it.

I installed complete JDK.
1/ download JDK from SUN (Now, version of Java is 1.4.2_10).
2/ Choose file *rpm.bin to install for FC.
3/ perform this command # ./j2sdk-1.4.2_10-Linux[...].bin
4/ I have file *.rpm
5/ install *.rpm with command #rpm -ivh j2sdk[...].rpm
6/ make CLASSPATH variable.
7/ test with simple code.
8/ Ok

it is very easy
Reply With Quote
  #7  
Old 2nd November 2005, 08:30 AM
Spoon! Offline
Registered User
 
Join Date: Aug 2005
Location: Hell
Posts: 758
Quote:
Originally Posted by thuan1975
Now, version of Java is 1.4.2_10
No; it is 1.5.0_05.

Quote:
Originally Posted by thuan1975
2/ Choose file *rpm.bin to install for FC.
3/ perform this command # ./j2sdk-1.4.2_10-Linux[...].bin
4/ I have file *.rpm
5/ install *.rpm with command #rpm -ivh j2sdk[...].rpm
Fedora Core specifically says not to use Sun's Java RPM package (see list of some problems here).
Reply With Quote
Reply

Tags
installitation, java

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lousy Java script or dated Java? Clean Mind Using Fedora 3 4th January 2009 04:30 AM
[F9 64-bit] jperf Java f/e for iperf - Java exception error techmum Using Fedora 0 24th July 2008 01:22 AM
Can I update java by simply installing java? schwim Using Fedora 5 20th December 2007 01:34 PM
java prob: alternatives --config java peimankhosravi Using Fedora 0 12th August 2005 04:06 PM
Java Woes - Req How to uninstall Java Alfred Using Fedora 10 5th March 2005 06:09 PM


Current GMT-time: 18:45 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat