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. ...
- 09-17-2010 #1Just 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)
- 09-17-2010 #2
Hi and welcome to the forums. Are you doing this as super user?
Assuming you are, you may have to give yourself permission to execute the file:Code:su -
Then:Code:chmod a+x file.bin
Code:sh file.bin
- 09-17-2010 #3Just 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 thecommand, followed by theCode:chmod a+x file.bin
and it still returns the message Permission deniedCode:mv file.bin /urs/java
I have also tryed to create a folder using mkdir and i get the message Permission denied.
- 09-17-2010 #4Just 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?
- 09-17-2010 #5
If you don't know if you are su you probably aren't.
To become user with root privileges, do from the command line:
Enter your root password when is asks and press enter. Then the little '$' should become a '#." If you see the '#' then you are su.Code:su -
- 09-17-2010 #6
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.
- 09-17-2010 #7Just 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)
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:Code:ln -s /opt/jre1.6.0_20_i586/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
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.
- 09-17-2010 #8
You need to create the directory 'plugins.'
If you are using Firefox, you can do the same thing...Code:mkdir /usr/lib/mozilla/plugins
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
- 09-17-2010 #9Just Joined!
- Join Date
- Sep 2010
- Posts
- 10
the plugins directory already exist
(can't post complete links yet)Code:img838.imageshack.us/img838/1152/fedorae.png
- 09-17-2010 #10
So when you look into this directory...
You don't see libnpjp2.so?Code:cd /usr/lib/mozilla/plugins *enter* ls *enter*
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.


Reply With Quote