Professional Web Applications Themes

Installing Java - Linux Setup, Configuration & Administration

Ur javac compiler is in /usr/java/j2sdk1.4.1_01/bin directory "Doru-Catalin Togea" <doru-catifi.uio.no> wrote in message news:Pine.SOL.4.56.0306250559360.5602fimm.ifi.uio .no... > Hi! > > I need javac to compile some software on a RedHat 7.3 machine. A quick > search on the net shows 4 java compilers available for Linux. I decided > to go for Sun's j2sdk. > > I downloaded it from Sun's homepage (a binary file which unpacks to a rpm > after accepting the agreement) and I installed it according to the > installation guide provided on the same pages. Everything went smoothly > but I still can not find javac ...

  1. #1

    Default Re: Installing Java

    Ur javac compiler is in
    /usr/java/j2sdk1.4.1_01/bin directory

    "Doru-Catalin Togea" <doru-catifi.uio.no> wrote in message
    news:Pine.SOL.4.56.0306250559360.5602fimm.ifi.uio .no...
    > Hi!
    >
    > I need javac to compile some software on a RedHat 7.3 machine. A quick
    > search on the net shows 4 java compilers available for Linux. I decided
    > to go for Sun's j2sdk.
    >
    > I downloaded it from Sun's homepage (a binary file which unpacks to a rpm
    > after accepting the agreement) and I installed it according to the
    > installation guide provided on the same pages. Everything went smoothly
    > but I still can not find javac on my system.
    >
    > What I did is the following:
    >
    > 1) Downloaded the j2sdk-1_4_1_03-linux-i586-rpm.bin file.
    > 2) While being root, in my user home directory "/home/catalin",
    > I did "chmod a+x j2sdk-1_4_1_03-linux-i586-rpm.bin"
    > 3) and "./j2sdk-1_4_1_03-linux-i586-rpm.bin"
    >
    > The installation guide says now to do:
    >
    > 4) rpm -iv j2sdk-1_4_1_03-linux-i586.rpm
    >
    > But there is no such file! Step 3 above unpacked a rpm called
    > "j2sdk-1_4_1_03-fcs-linux-i586.rpm". I substituted this file name in step
    > 4 and did:
    >
    > 4) rpm -iv j2sdk-1_4_1_03-fcs-linux-i586.rpm
    >
    > The install was done in half a minute, but where is javac?
    >
    > I even did a updatedb and still can not find it anywhere with the locate
    > command.
    >
    > A an aside, does anyone know what the "fcs" part of the file name means?
    >
    > Thanks if you can clarify things for me.
    > Catalin
    >
    >
    > --
    >
    > <<<< ================================== >>>>
    > << We are what we repeatedly do. >>
    > << Excellence, therefore, is not an act >>
    > << but a habit. >>
    > <<<< ================================== >>>>

    S Purkayastha Guest

  2. #2

    Default Installing Java

    Hey,

    im new to linux and i downloaded the java-install-packages for linux. That
    is bin-file and i dont know what todo with it now. Can anybody tell me how i
    may install it ? A double-click on it just opens an editor...


    cheers,
    oliver


    Oliver Neumann Guest

  3. #3

    Default Re: Installing Java

    Oliver Neumann <tha.beastweb.de> wrote:
    > im new to linux and i downloaded the java-install-packages for linux. That
    > is bin-file and i dont know what todo with it now. Can anybody tell me how i
    > may install it ? A double-click on it just opens an editor...
    First of all you can use the installer provided by Sun. The package is
    executable and it has some kind of self installer like on windows. If you want
    to tranform the java package first to an ubuntu package, you will need a
    program like alien. Search the internet for "java alien ubuntu" and you will
    find a description how it works.

    Sebastian
    Sebastian Stein Guest

  4. #4

    Default Re: Installing Java

    Hey Sebastian,

    thanks, will try that.

    greets,
    oliver

    "Sebastian Stein" <seb_steingmx.de> schrieb im Newsbeitrag
    news:htkv93-mf9.ln1ID-116864.user.uni-berlin.de...
    > Oliver Neumann <tha.beastweb.de> wrote:
    > > im new to linux and i downloaded the java-install-packages for linux.
    That
    > > is bin-file and i dont know what todo with it now. Can anybody tell me
    how i
    > > may install it ? A double-click on it just opens an editor...
    >
    > First of all you can use the installer provided by Sun. The package is
    > executable and it has some kind of self installer like on windows. If you
    want
    > to tranform the java package first to an ubuntu package, you will need a
    > program like alien. Search the internet for "java alien ubuntu" and you
    will
    > find a description how it works.
    >
    > Sebastian

    Oliver Neumann Guest

  5. #5

    Default Re: Installing Java

    Oliver Neumann wrote:
    > Hey,
    >
    > im new to linux and i downloaded the java-install-packages for linux. That
    > is bin-file and i dont know what todo with it now. Can anybody tell me how
    > i may install it ? A double-click on it just opens an editor...
    Install the "java-package" package via apt etc:

    $apt-cache show java-package
    Package: java-package
    Priority: optional
    Section: multiverse/misc
    Installed-Size: 308
    Maintainer: Debian Java Maintainers <snipped email>
    Architecture: all
    Version: 0.26
    Depends: debhelper, fakeroot, coreutils | stat, unzip
    Filename: pool/multiverse/j/java-package/java-package_0.26_all.deb
    Size: 21258
    MD5sum: 3d3efe5ecdba3a4aac8f22b024717866
    Description: utility for building Java(TM) 2 related Debian packages
    This package provides the capability to create a debian package from
    a Java(TM) 2 distribution by just running make-jpkg <filename>.
    Centurion Guest

Similar Threads

  1. installing cfx java class
    By berebeton in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: October 4th, 09:08 AM
  2. installing java on a box?
    By Ken Hawkins in forum FreeBSD
    Replies: 2
    Last Post: February 16th, 11:21 PM
  3. #25651 [Bgs]: mixing --with-java and --enable-debug pull out java
    By fperez at tuzsa dot es in forum PHP Development
    Replies: 0
    Last Post: September 26th, 06:26 AM
  4. Replies: 0
    Last Post: August 8th, 11:18 AM
  5. Replies: 0
    Last Post: August 2nd, 08:07 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139