Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: installing JAVA for a newbie.

  1. #1
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    124

    installing JAVA for a newbie.

    I am trying to install JAVA into my HD but I am having problem. I have tryed to follow the instructions at the java web site but without any results.

    Thank You.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Go here:
    https://sdlcweb1a.sun.com/ECom/EComA...43ef554bfba8eb

    Scroll down
    Get this:
    self-extracting file (j2re-1_4_2_05-linux-i586.bin, 13.72 MB)

    Save it to your home directory.
    chmod +x j2re-1_4_2_05-linux-i586.bin
    ./j2re-1_4_2_05-linux-i586.bin

    Hit <enter> to get to the bottom of the agreement.
    Type 'yes'

    voila!


    Here are the official directions from SUN:
    http://java.sun.com/j2se/1.4.2/install-linux.html

  3. #3
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    124
    I don't know why, but the web page You gave me was sending me somewhere else, so I found "j2sdk-1_4_2_05-linux-i586.bin". Downloaded and installed with Your tips it seems to work fine... no errors on the installation! What is the difference between the "j2sdk" and the "j2rd"?
    Thanks.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    I never heared from j2rd, only j(2)re.

    The second is the java-runtime-environment, to run java-programs.
    The first is the java-software-development-kit, to develop java-programs.

    If you have the sdk, a jre is included already.
    Adding JAVA_HOME to your user-environments in /etc/profile is recommendet if you develop java-programs, i.e:

    export JAVA_HOME=/opt/j2sdk

  5. #5
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    124
    i am sorry "RE" not "RD"! I will try that as soon as I can. Thanks

  6. #6
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    124
    "export JAVA_HOME=/opt/j2sdk"

    Do I have to run this from root or command?
    Nothing has happened form root.
    Thanks

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Quote Originally Posted by xaviers2002
    I don't know why, but the web page You gave me was sending me somewhere else, so I found "j2sdk-1_4_2_05-linux-i586.bin". Downloaded and installed with Your tips it seems to work fine... no errors on the installation! What is the difference between the "j2sdk" and the "j2rd"?
    Thanks.
    gah silly SUN makes it hard to link to their downloads. Commercialism at its finest I tell you!

    you DO need j2re!

    Try this link:
    http://java.sun.com/j2se/1.4.2/download.html

    Scroll down to where you see this:

    Download J2SE JRE

    When you click that link you will be taken to a licensing agreement. Hit "accept" and "continue".

    Download this:
    self-extracting file (j2re-1_4_2_05-linux-i586.bin, 13.72 MB)

  8. #8
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    124
    ok done!!! thanks
    Is there a common way of installing programs on debian or every program is different?
    Thank You again.
    Also what is the difference between the begginer installation and the debian like...?

  9. #9
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Quote Originally Posted by xaviers2002
    ok done!!! thanks
    Is there a common way of installing programs on debian or every program is different?
    Java is a proprietary software from SUN. It is not OSS (Open Source Software) like Debian GNU Linux. Debian uses dpkg to install packages. The easiest way to use dpkg is apt-get which is a frontend for dpkg. *most* packages are already in Debian and only require a simple command:

    apt-get install cdcd

    for example. If an application does not exist in the Debian archives you may search here: http://www.apt-get.org/ and perhaps someone has made unofficial packages for Debian. Otherwise you would use source code to compile and install software.

    Also what is the difference between the begginer installation and the debian like...?
    As I understand it the beginner is most like booting from cd. I think there are several forum postings on that topic already. "Debian like" would be a not so standard Debian installation (but still Debian none the less). Debian is notoriously difficult to install for a beginner. Even the current installer is quite unattractive and yet I have to say that IMHO installing Debian w/ either boot flopies or a small cd image is the best. You simply install the base system and build it from there. As you use Debian more you will come to understand its ways.

  10. #10
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    124
    If I got it right the "normal" way to install a progrtam on Debian is: open a root shell, type "dpkg apt-get install" followed by the name of the of the program that was downloaded. Correct?

    Thanks

Page 1 of 2 12 LastLast

Similar Threads

  1. Newbie need help installing ATI.2 drivers and HDD install!
    By ThE_R_o_B in forum Hardware & Booting
    Replies: 1
    Last Post: 04-18-2005, 04:22 AM
  2. Help with installing nVidia Drivers /newbie/
    By nlight40 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 12-16-2004, 09:21 AM
  3. Installing JAVA for the 2nd time!
    By xaviers2002 in forum General Support
    Replies: 1
    Last Post: 07-23-2004, 02:53 AM
  4. Problems installing programs with java
    By sjlinux in forum General Support
    Replies: 8
    Last Post: 02-24-2004, 11:59 AM
  5. Total Newbie needs advice for JAVA App demonstration Disk
    By celtic_kiwi in forum Customising & Remastering
    Replies: 2
    Last Post: 09-18-2003, 11:56 PM

Posting Permissions

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


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Lot Of 5x Netgear 16 Port-POE+ Switches, SFP, 4x PSU. GS316EP (3), GS316EPP (2) picture

Lot Of 5x Netgear 16 Port-POE+ Switches, SFP, 4x PSU. GS316EP (3), GS316EPP (2)

$249.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



FS DWDM-SFP10G-80 ZR SFP+ C58 1531.12nm 80km Duplex LC/UPC SMF Transceiver picture

FS DWDM-SFP10G-80 ZR SFP+ C58 1531.12nm 80km Duplex LC/UPC SMF Transceiver

$150.00



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99