javac on Fedora 9, how do I get it?

Antonio Olivares olivares14031 at yahoo.com
Fri Jun 13 15:07:01 UTC 2008




--- On Fri, 6/13/08, Andrew Overholt <overholt at redhat.com> wrote:

> From: Andrew Overholt <overholt at redhat.com>
> Subject: Re: javac on Fedora 9, how do I get it?
> To: olivares14031 at yahoo.com, "For users of Fedora" <fedora-list at redhat.com>
> Date: Friday, June 13, 2008, 6:30 AM
> On Thu, 2008-06-12 at 21:46 -0700, Antonio Olivares wrote:
> > I cannot find how to get javac on Fedora 9,
> 
> yum install java-1.6.0-openjdk-devel
> 
> or
> 
> yum install /usr/bin/javac
> 
> HTH,
> 
> Andrew

In Fedora 8, it got installed by default, now it did not.  Still I got it since yesterday as your post recommends :)

[olivares at localhost Documents]$ javac ThreeN2.java 
[olivares at localhost Documents]$ java ThreeN2
This program will print out 3N+1 sequences
for starting values that you specify.

Enter a starting value;
To end the program, enter 0: 59
The 3N+1 sequence starting from 59

      59     178      89     268     134
      67     202     101     304     152
      76      38      19      58      29
      88      44      22      11      34
      17      52      26      13      40
      20      10       5      16       8
       4       2       1

There were 33 terms in the sequence.
Enter a starting value;
To end the program, enter 0: ? 0
[olivares at localhost Documents]$ 


Regards,

Antonio 


      




More information about the fedora-list mailing list