Find the answer to your Linux question:
Results 1 to 5 of 5

Thread: java on linux

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005

    java on linux

    Is there a java compiler that comes with linux? If not, any recommendations for one?

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Montreal, Canada
    Well, there is the free one, or else you could always install the one from Sun Microsystem (personnaly I use their JDK):

    ...and I choose "Download JDK 5.0 Update 6"

    I'm on Debian, so I download the .bin and transform it into a .deb with make-jpkg.

    You are on Fedora, so I guess you could directly download the .rpm.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    You have several options for running Java on Linux.

    The one I will recommend is the official, Sun-developed Java. It comes as an RPM (if you use RPMs), or as an executable file that will install Java for you. This is, in fact, Java, and works flawlessly. You can find it at the Java Sun site:

    Download the JDK if you wish to develop Java applications, otherwise, the JRE is fine.

    That said, the other main option is if you have a major problem with using non-free software. GNU puts out their gcj compiler, which is the GNU Java Compiler. It is NOT full Java, and many parts of Java may not work, ESPECIALLY GUIs. However, it is an option.

  4. $spacer_open
  5. #4
    You have the gcj (java compiler) for compiling java programs. But it is not the recommended way to compile java programs. gcj produces executable file directly. The correct way to execute java programs is to compile the program to produce java bytecodes and then interpret it. So jsdk from sun is the best. You can download it from

  6. #5
    Linux Newbie
    Join Date
    Dec 2005

    Re: java on linux

    Quote Originally Posted by sunny22
    Is there a java compiler that comes with linux? If not, any recommendations for one?
    I'm developing Java programs in Linux Platform
    Proper Planing is a way of success

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts