GiorgioCarlos
asked on
install jdk
hello I wanna install jdk and eclipse but I dont know.
I have downloaded ( eclipse-java-indigo-SR1-li nux-gtk-x8 6_64.tar.g z ) and put inside user/share/java file but them I dont know how to tar this file or which should be the next step?
Thanks
I have downloaded ( eclipse-java-indigo-SR1-li
Thanks
ASKER
i get this: I am in Fedora 14
tar (child): eclipse-java-indigo-SR1-li nux-gtk-x8 6_64.tar.g z: it can't open: it doesn exist the file.
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): eclipse-java-indigo-SR1-li
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Make sure you are in the right folder. If you can't find the file...
Try this
# find / -name eclipse-java-indigo-SR1-li nux-gtk-x8 6_64.tar.g z
If it's on your system, it should find it. You'll get some warning messages, which you should just ignore.
Try this
# find / -name eclipse-java-indigo-SR1-li
If it's on your system, it should find it. You'll get some warning messages, which you should just ignore.
ASKER
Ok this the path:
/usr/share/java/eclipse-ja va-indigo- SR1-linux- gtk-x86_64 .tar.gz
find: `/home/masr/.gvfs': Denied permit
/home/masr/Downloads/eclip se-java-in digo-SR1-l inux-gtk-x 86_64.tar. gz
/usr/share/java/eclipse-ja
find: `/home/masr/.gvfs': Denied permit
/home/masr/Downloads/eclip
Which command produced this? If it was tar, be sure you are at a # before you use tar to unzip to that folder.
ASKER
with this:
# find / -name eclipse-java-indigo-SR1-li nux-gtk-x8 6_64.tar.g z, because when you told me that.
# find / -name eclipse-java-indigo-SR1-li
It is normal for find using the whole filesystem to return a warning. The point was to find the location of the tarball -- eclipse-java-indigo-SR1-li nux-gtk-x8 6_64.tar.g z
Once you find it, you and use the tar xzf command to unzip it.
Once you find it, you and use the tar xzf command to unzip it.
ASKER
this is the file where it is:
/usr/share/java/eclipse-ja va-indigo- SR1-linux- gtk-x86_64 .tar.gz
/usr/share/java/eclipse-ja
ASKER
what should i do next?
Try this
$ su
# cd /usr/share/java
# tar xzf eclipse-java-indigo-SR1-li nux-gtk-x8 6_64.tar.g z
and probably
# cd eclipse-java-indigo-SR1-li nux-gtk-x8 6_64
# ls
look for a file like README or readme
$ su
# cd /usr/share/java
# tar xzf eclipse-java-indigo-SR1-li
and probably
# cd eclipse-java-indigo-SR1-li
# ls
look for a file like README or readme
Have you installed the Java Development Kit yet? You'll need that too.
Try this as a test
$ javac -version
Try this as a test
$ javac -version
In my copy of eclipse, I ended up with a directory called readme. My folder is called eclipse. I might or might not have renamed it. Not sure. Anyway, in the ecplipse/readme directory there is an HTML file with more instructions.
Hi,
Plz follow below link for detail in step by step instruction for installing eclipse on Fedora.
http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/
MS
Plz follow below link for detail in step by step instruction for installing eclipse on Fedora.
http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/
MS
Sounds like there are special Fedora instructions? I used Slackware.
ASKER
Ok hmccurdy
I succed until this:
# cd /usr/share/java
# tar xzf eclipse-java-indigo-SR1-li nux-gtk-x8 6_64.tar.g z
Then what should I do?
I succed until this:
# cd /usr/share/java
# tar xzf eclipse-java-indigo-SR1-li
Then what should I do?
ASKER
I think the problem is cause since I tried to change the permission of usr/share/java... is impossible to autenticate in my disk
it ask for autenticate and them I click and them it doesnt work.
Is there a message? Did you read the Fedora instructions suggested by mohansahu
If there are special Fedora instructions, normal Linux instructions will likely not work. I got Eclipse to work with Slackware.
If the Fedora instructions don't work, perhaps a new post mentioning you are using Fedora.
If there are special Fedora instructions, normal Linux instructions will likely not work. I got Eclipse to work with Slackware.
If the Fedora instructions don't work, perhaps a new post mentioning you are using Fedora.
ASKER
The problem is that I can not enter to my disk c:, maybe i have done something that I change some permission to system folders,
So what should i do to return to my default permission of the whole thing.
So what should i do to return to my default permission of the whole thing.
OK, what do you mean by authenticate your disk. What program is trying to authenticate your disk?
ASKER
When you are trying to install a new package or a new program, the system ask you for authenticate or said in other words, (In windows)
trying to enter disk c:, but I cannot enter I dont know why?
trying to enter disk c:, but I cannot enter I dont know why?
ASKER
maybe I need to change the permission of my entire disk?
I think you need to enter the password for root on the system.
Another option is open a terminal window and then
$ su
#
From the # you shouldn't need to authenticate further. Type exit or press CTRL/D to exit from #. You should not stay at a # longer than necessary.
Another option is open a terminal window and then
$ su
#
From the # you shouldn't need to authenticate further. Type exit or press CTRL/D to exit from #. You should not stay at a # longer than necessary.
ASKER
yeah i tried with $su, I wrote the password, but defeinitely if I want to enter my disk c: It appers me a window I need special permission to enter, so should I change the permissions of the folders or the system folders?
I don't know. It appears you may have extra security that I haven't used.
Which system folders? (For instance, don't change the perms on /bin, /etc and so forth.) By contrast, I created a "system" folder called /opt and I made myself the owner.
Which system folders? (For instance, don't change the perms on /bin, /etc and so forth.) By contrast, I created a "system" folder called /opt and I made myself the owner.
ASKER
I think the perms of my entire folder home/usr/bin are changed
All the files or just the folder?
ASKER
all the files
It is hard to know what they were. Most of them were likely 755 and owned by root:root.
ASKER
the fact the disk c: is blocked I can not access
The disk C: is a Windows partition? Is it an NTFS Windows partition? If so, I think you are "out of luck." Last I checked, Linux can't write to an NTFS partition. Only read it. (Last I checked). Linux can read and write to a FAT32 partition.
If this is the case, perhaps we can come up with an alternate plan. I would need to know more about what you are trying to accomplish to help with an alternate plan.
If this is the case, perhaps we can come up with an alternate plan. I would need to know more about what you are trying to accomplish to help with an alternate plan.
ASKER
I am not meaning that disk c: is a windows partition I just used this words to explain you that I cannot acces what in (windows we call c:) where is all my data.
There is a windows that appears me that I cannot authenticate
There is a windows that appears me that I cannot authenticate
It would be easier for me if we used Linux/Unix terminology.
Is the entire partition blocked? How is it mounted? (Copy and paste of the associated /etc/fstab line would help.)
Is the entire partition blocked? How is it mounted? (Copy and paste of the associated /etc/fstab line would help.)
ASKER
#
# /etc/fstab
# Created by anaconda on Wed Sep 7 21:12:00 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_mastermusic -lv_root / ext4 defaults 1 1
UUID=54759db8-3c65-417e-a8 44-6ac62cf 6ce0a /boot ext4 defaults 1 2
/dev/mapper/vg_mastermusic -lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
# /etc/fstab
# Created by anaconda on Wed Sep 7 21:12:00 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_mastermusic
UUID=54759db8-3c65-417e-a8
/dev/mapper/vg_mastermusic
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
ASKER
yes the problem I cannot mount the disk
Please issue the command
$ df -h
and copy/paste here
$ df -h
and copy/paste here
ASKER
S.ficheros Size Used Avail Use% Montado en
/dev/mapper/vg_mastermusic -lv_root
44G 9.9G 34G 23% /
tmpfs 1002M 1.1M 1001M 1% /dev/shm
/dev/sda2 485M 65M 395M 15% /boot
/dev/mapper/vg_mastermusic
44G 9.9G 34G 23% /
tmpfs 1002M 1.1M 1001M 1% /dev/shm
/dev/sda2 485M 65M 395M 15% /boot
OK, both / and /boot are mounted. Is there some other partition you want to mount?
ASKER
yes my disk where I have my data
OK, what is the partition called (/dev/what?) and where do you want to mount it?
ASKER
how can I know how is the partition called?
Hopefully this will work
$ cat /proc/partitions
$ cat /proc/partitions
ASKER
so I must put this chmod 775 /dev/sda5?
I put It didn't work
I put It didn't work
ASKER
major minor #blocks name
8 0 244198584 sda
8 1 38069216 sda1
8 2 512000 sda2
8 3 154928128 sda3
8 4 1 sda4
8 5 50686976 sda5
253 0 46530560 dm-0
253 1 4128768 dm-1
8 0 244198584 sda
8 1 38069216 sda1
8 2 512000 sda2
8 3 154928128 sda3
8 4 1 sda4
8 5 50686976 sda5
253 0 46530560 dm-0
253 1 4128768 dm-1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you
Anyway, from that folder, if you are root/su
# tar xzf eclipse-java-indigo-SR1-li
or if you can't become su (if using Ubuntu, et al)
$ sudo tar xzf eclipse-java-indigo-SR1-li
Go into the new folder. It will likely start with eclipse. In the new folder, look for a readme.txt or install.txt file.