View Full Version : PERMISSION DENIED on java!!!
xaviers2002
07-16-2004, 09:50 PM
I don't know what I am doing wrong but everytime I try to install java I got an error: PERMISSION DENIED.
I did the installation once, but now is not working anymore. This is what I am doing: from root shell I type "chmod a-x 'file name'". Than ./'file name'
Thanks
champagnemojo
07-16-2004, 11:48 PM
I'm not a chmod expert, so your way may be valid too. But I've always made a file executable by using chmod +x file_name.
xaviers2002
07-17-2004, 04:12 AM
yes I have tryed that too, but it doesn't work!
I don't know where the problem is.
Thnak You for any advice!
This work for me, I download rpm based java installer than I convert it to debian using alien.
xaviers2002
07-19-2004, 04:19 PM
Could You give me more informations on how to do it? How does AlIEN work?
voldemort
07-19-2004, 06:19 PM
su (enter your password)
chmod 777 (file name)
or try apt-get install synaptic
install synaptic (graphic front end to apt)
under search filters look for (name and description) java
willl list a whole bunch of them
if not in your sources list
http://www.apt-get.org
has ton of unofficial apt sources
have modded my apt so dont remmeber if java came standard but after adding few i have just about every version available to install...
xaviers2002
07-19-2004, 07:55 PM
[quote]:
apt-get install synaptic
Unfortunately this is what I got: "E: Package synaptic has no installation candidate"!
champagnemojo
07-19-2004, 08:25 PM
What does your sources.list file look like? You should be able to find synaptic. Have you ever run apt-get update?
Also, alien is as simple as typing 'alien file_name.rpm' as root. Then you can install using dpkg...or you can add the -i tag and it will do that for you. Not all rpm's will work however.
DuckDodgers
07-19-2004, 09:23 PM
In addition, you may want to try this as root:
apt-get install j2re1.4
xaviers2002
07-19-2004, 10:10 PM
X Champagnemojo:
Could You tell me how to take a look at sources.file?
I am doing the apt-get update right now.
Sorry this is my first step into linux world!
Thanks
champagnemojo
07-19-2004, 10:23 PM
X Champagnemojo:
Could You tell me how to take a look at sources.file?
I am doing the apt-get update right now.
To look at it within KDE you can just use konqueror to go to the /etc/apt directory and open sources.list with kedit or whatever text editor you like. If you want to be able to edit it you should go through the K menu to System and then More Programs and click on File Manager - Super User Mode. It will ask for your root password and you'll now be using konqueror as root. So when you use kedit on it you'll have permission to modify the file. I always add a shortcut to File Manager - Super User Mode to kicker for easy access.
But if you've never run apt-get update before now, chances are that your sources are fine. You should run apt-get update every now and then, as this tells your system what packages are available to get. And so, if you've never run it before your system doesn't know of any packages. Synaptic is fine for looking for a specific type of file. You could also type "apt-cache search java" in a console and it would show you a list of packages that have to do with java.
Sorry this is my first step into linux world!
Thanks
I understand...I'm still just learning too. I think alot of us are.
Powered by vBulletin® Version 4.2.2 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.