Results 1 to 8 of 8

Thread: java newb

  1. #1

    java newb

    I just downloaded the redhat rpm shell scripts from Sun Microsystems. They come in a .bin format. How do I install them on my system???

  2. #2

    Re: java newb

    I'm not sure I understand your question....the jsdk taht comes in bin format to works like this:
    1. download it
    2. chmod +x the downloaded file
    3. run it.

  3. #3

    Re: java newb

    hello,
    real easy! Open a terminal - , as user then type su - to set youself a the super user, enter the password. cd to the direcorty where the bin file is and type ./jre1_31.bin - or whatever the name is. It willl then ask where to put stuff, i use /usr/local/ .
    hth

  4. #4

    Re: java newb

    I tried to execute the bin file like you said pbharris but I got a "permission denied" after I tried. And I was already running as root. If it helps i'm running Red Hat 6.0.

  5. #5

    Re: java newb

    try what elovkoff said with the chmod +x filename

  6. #6

    Re: java newb

    Sorry but after I read your post I figured out the problem. even though its dubbed a .bin file, it is a shell script. I just ran 'sh' and it installed...well atleast it said it did. I seem to not be able to find anything related to java on my system, I've searched high and low. And no sign of the little compiler or VM.

  7. #7

    Re: java newb

    making it +x works either.

  8. #8

    Re: java newb

    Probably you've done all that but just in case...
    If you use rpm then you can always do rpm -qa | grep <rpm-name-you-wanna-check> (or part of the name). Probably you should add some lines to .bash_profile or some global statements in .profile to specify where your java installation is and after that you should be able to use 'which java' to find out where executables are. Or you can use 'locate java' or 'find / -name java'
    Those are just some guesses-you'd better read docs and reade that come with rpm.

    I'm nor a big fan of rpms - you can't actually control what and where is installed (correct me if I'm wrong here) - when you use tarballs or binary installs you can alwways use --prefix=/path and at least you have some control over which software is installed and where. I use the same convention as pbharris mentioned-I store all my software under /usr/local/ , not to mention that a lot of programs you may install later expect /usr/local as a default location.


Similar Threads

  1. Very simple newb Desktop question
    By mntamimi in forum Linux - General Topics
    Replies: 4
    Last Post: 09-14-2009, 02:29 PM
  2. Starting RPM Files (Questions from an Eager Newb)
    By Delirious in forum Linux - General Topics
    Replies: 3
    Last Post: 08-09-2007, 11:35 PM
  3. java and opera... always says invalid java directory
    By sujoki in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 08-26-2003, 03:54 PM
  4. linux newb needs help pls
    By quigley0 in forum Redhat / Fedora
    Replies: 7
    Last Post: 07-17-2003, 08:03 AM
  5. Java & Mozilla (formerly Java and Netscape)
    By papanohair in forum Linux - General Topics
    Replies: 2
    Last Post: 01-07-2002, 08:21 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
  •