Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Hello all, I am new to linux and i am using Fedora 13 inside virtual box. I am going to be writing a C Shell for my operating system class. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    10

    basic ide and Java installation


    Hello all,

    I am new to linux and i am using Fedora 13 inside virtual box. I am going to be writing a C Shell for my operating system class. I plan on using Eclipse as my ide because i am familiar with it.

    Now to my problem to install eclipse i need to have the Java JRE installed in /urs/java. I downloaded the .bin file. I then try to mv file.bin /srs/java but the terminal says i don't have permission. So i tryed to cd function and got the same problem. So i went into the system->users and groups and checked every box for my user. I assumed this would give me 100% admin rights(for better or worse). I went back and tried and i got the same thing and got the same message.

    I am stuck.

    After i get unstuck(with alittle help from you guys) i will then ./file.bin to run the self extract and continue on my merry into learning abotu linux and operating systems.

    thanks,

    Calidus

    (P.S. anyone know of an easy way to run fedora and virtual box in full screen)

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Hi and welcome to the forums. Are you doing this as super user?
    Code:
    su -
    Assuming you are, you may have to give yourself permission to execute the file:
    Code:
    chmod a+x file.bin
    Then:
    Code:
    sh file.bin
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    10
    First thank you for responding

    How would i know if i am a super user? EDIT: I CAN"T READ.

    I have tried the
    Code:
    chmod a+x file.bin
    command, followed by the
    Code:
    mv file.bin /urs/java
    and it still returns the message Permission denied

    I have also tryed to create a folder using mkdir and i get the message Permission denied.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2010
    Posts
    10
    Ok that kinda helped but now i don't know how to move the file.bin from the users home folder(i don't know the technical term sorry) to the root home folder to then be able to move it to the /urs/java folder.

    Is their a command that will let me move stuff like a super users in the GUI?

  6. #5
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    If you don't know if you are su you probably aren't. To become user with root privileges, do from the command line:
    Code:
    su -
    Enter your root password when is asks and press enter. Then the little '$' should become a '#." If you see the '#' then you are su.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  7. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    There are several methods for installing java on Fedora 13. a few of them are listed here. Sounds like you downloaded the Sun version so go with Sun Java (Method 1) if that is the case.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  8. #7
    Just Joined!
    Join Date
    Sep 2010
    Posts
    10

    d

    I have found an error in these directions in method 1 linked above(can't post links yet)

    Code:
     ln -s  /opt/jre1.6.0_20_i586/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
    the file is jre1.6.0.21 not jre1.6.0_20_i586 when i look in my file system. I have tried using both but i still get a message saying:

    creating symbolic link '/usr/lib/mozilla/plugins/libnpjp2.so' : no such file or directory found

    the when i look in the file system i can't find /usr/lib/mozilla/plugins/libnpjp2.so so i guess i am missing something. I followed all the previous step correctly and with basically no problems.

  9. #8
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    You need to create the directory 'plugins.'
    Code:
    mkdir /usr/lib/mozilla/plugins
    If you are using Firefox, you can do the same thing...
    Code:
    mkdir /usr/lib/firefox/plugins
    Code:
     ln -s  /opt/jre1.6.0_21_i586/lib/i386/libnpjp2.so /usr/lib/firefox/plugins/libnpjp2.so
    Linux Mint + IceWM Registered: #371367 New Members: click here

  10. #9
    Just Joined!
    Join Date
    Sep 2010
    Posts
    10
    the plugins directory already exist

    Code:
    img838.imageshack.us/img838/1152/fedorae.png
    (can't post complete links yet)

  11. #10
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    So when you look into this directory...
    Code:
    cd /usr/lib/mozilla/plugins
    *enter*
    ls
    *enter*
    You don't see libnpjp2.so?
    Did you try it with Firefox?
    Really, all this is just to get Java going for when you access java on the Internet. For your purposes, Java might be working as you need it to for your programming.
    Linux Mint + IceWM Registered: #371367 New Members: click here

Page 1 of 2 1 2 LastLast

Posting Permissions

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