Results 1 to 3 of 3
I am rather new to Linux, I have been helped before by reed9 when I could not load any packages.
My earlier thread was 'Linux Newbie can't install software'. I ...
- 01-27-2010 #1Just Joined!
- Join Date
- Jan 2010
- Location
- Australia
- Posts
- 13
No such file or directory.... It worked at first
I am rather new to Linux, I have been helped before by reed9 when I could not load any packages.
My earlier thread was 'Linux Newbie can't install software'. I regard myself as a Newbie++ now.
I have re-installed Debian5 after my partitions were woefully inadequate. This time I manually installed without LVM.
I have loaded most of the software I had on before. Everything was loading ok until I struck the following:
I coded this:
/Desktop# sudo sh install-java_ee_sdk-6-unix.sh
And ended up with this:
sh: install-java_ee_sdk-6-unix.sh: No such file or directory
I made sure I was in the correct directory:
/Desktop# ls
codewea
codewea ~
CrossOver Linux Professional Users Guide - CodeWeavers_files
google-chrome-beta_current_i386.deb
google-chrome.desktop
iceweasel.desktop
install-netbeans-6.8-ml-linux.sh
java_ee_sdk-6-unix.sh ****************** (I did this for clarity)
mysql-5.1.42-linux-i686-glibc23
mysql-5.1.42-linux-i686-glibc23.tar
mysql-connector-java-5.1.11.tar
ooo-writer.desktop
I even copied and pasted the name to make sure I got the correct syntax in the command.
I am having similar problems with the 'install-netbeans-6.8-ml-linux.sh".
What has gone wrong, I can't see the problem when all other packages, except the mysql packages have loaded ok?
Kind Regards
VK5xx
- 01-27-2010 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
You can use:
...to see the full permissions of the file. If it's not executable, you can't "run" it. You can Google for Unix file permissions information and how to use the Linux command line/shell.Code:ls -alh
...will make it executable.Code:sudo chmod 777 <replace_with_filename>
** You have posted the filename as "install-java_ee_sdk-6-unix.sh" but the ls listing shows only a file called "java_ee_sdk-6-unix.sh" ?
- 01-27-2010 #3Just Joined!
- Join Date
- Jan 2010
- Location
- Australia
- Posts
- 13
Hello HROAdmin26,
Thank you for responding.
OOPS! Sorry, I changed the name of filename by adding 'install-' on the front of it and I started to load ok.!!!
The only thing is it came back with this...
Desktop# sudo sh install-java_ee_sdk-6-unix.sh
Could not locate a suitable Java runtime.
Please ensure that you have Java 6 or newer installed on your system
and accessible in your PATH or by setting JAVA_HOME
Huh?
What the.....I have just loaded NetBeans6.8 ok after about the 4th try.
I could have sworn I did this before and it still failed. ???
I was trying to install Glass Fish: (install-java_ee_sdk-6-unix.sh).
Now I don't need to because I have now installed the full NetBeans6.8 IDE that includes Glass Fish.
Sorry if I have wasted your time. You did however prompt me to try adding the 'install-' on the file name again and it worked.
This problem is solved.
Thanks again.


Reply With Quote
