Ubuntu :: Installing Java - Bash: Version: No Such File Or Directory

Aug 22, 2010

i'm brand new to linux and honestly don't know how to use it very well and i am trying to install java, following the directions is not working i am stuck at Code: chmod a+x jre-6u<version>-linux-i586-rpm.bin it says bash: version: No such file or directory i downloaded the software to the downloads folder firefox uses as default.

View 6 Replies


ADVERTISEMENT

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found

View 4 Replies View Related

Fedora X86/64bit :: Installing 32 Bits Version Of Firefox And Java?

Jul 28, 2009

What is the best way for installing Firefox and Sun JDK 32 bits alongside my 64 bits version?

View 2 Replies View Related

Ubuntu :: Directory Exists But Bash Says It Doesn't - No Such File Or Directory

Aug 19, 2011

I've run into a problem with my bash program.

Code:a mkdir -p /home/chris/Downloads/ARCHIVE/`date -I` find /home/chris/Downloads* -mtime +14 -exec "cp {} /home/chris/Downloads/ARCHIVE/`date -I` ;

It's meant to move old files from my Downloads folder into an archive file (later tar them). The directory exists, I've used $PWD and nautilus and ls to make sure it's there, yet for every file it gives

Code: find: `cp /home/chris/Download/foo.bar /home/chris/Downloads/ARCHIVE/2011-08-19': No such file or directory I tried to test it on a different destination, specifically my home folder. IT still gave me the error.IS it a bad syntax within find or something else? I'm running a 32-bit system with 11.04

View 4 Replies View Related

Ubuntu :: BASH Script To Get PID Of Java File?

Jun 18, 2011

I have a simple bash script called run.sh:

Code:
java -jar /testing/run.java How do I get the Process ID and save it in a file called "PID"

View 1 Replies View Related

Ubuntu :: Help With Bin File - Error Message - Bash - /hldsupdatetool.bin - No Such File Or Directory

Jun 9, 2009

I am new to Linux and I wanted to setup a dedicated game server on my notebook.

I've installed Ubuntu 9.04. I than created a directory named /home/phlex/kfserver. I downloaded the application binary from Steam. I changed the file permission with chmod +x hldsupdatetool.bin and now the file attributes are -rwxr-xr-x.

The problem is when I try to run the binary file. If I type ./hldsupdatetool.bin I get an error message "-bash: ./hldsupdatetool.bin: No such file or directory. It seems the OS can't find the file. I've downloaded the file several times thinking it may have been corrupt but it's not. I can delete the file, I can rename it and so the file is there. Sometimes Linux can be aggravating to use.

View 7 Replies View Related

Ubuntu :: Install Latest Java Version - Java SE 6 Update 24?

Feb 18, 2011

If you are interested, Java SE 6 Update 24 is available. The Check Java Version link in my signature will tell you if you are up to date or not. The Update Java Version link in my signature will tell you how to obtain and install the latest version. The 32 bit version install directions are on the left side of that page and the 64 bit instructions are on the right side.

Just remember to remove the current version before installing the new one as it says in the instructions. The remove instructions are below the install instructions. Also, in Step 9 - "Now you'll want to tell the system, that there's a new Java version available." See the note below it that says if you get an error upon entering the command once, enter it a second time. I have to do that and sometimes forget. Just thought I would mention that. These instructions are already setup for version 6 update 24, but they can be modified for any update and they will work. I have been using these instructions for a couple of years and they work.

View 9 Replies View Related

Ubuntu :: /bin/bash: : No Such File Or Directory

Jan 20, 2011

I had netbeans installed and I removed it using wheris netbeans and then sudo rm whatever files it gave.I also remember doing sudo rm -r /usr/lib/netbeans6.9 I did this because i wanted to install netbeans via the repo. Now I installed netbeans suing

Code:

varun@varun:~$ sudo apt-get install netbeans

and when I try running netbeans i get...

Code:

varun@varun:~$ netbeans
/bin/bash: : No such file or directory

Have i changed permissions or something?

View 1 Replies View Related

General :: Enter The Command Java -version It Shows Java Is Not Found?

Jan 19, 2010

Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.

first of all why its not working from any other place? also why do I need to give ./ from the folder?

View 3 Replies View Related

CentOS 5 :: -bash: /usr/bin/yum: No Such File Or Directory

Feb 8, 2011

I upgraded my php from 5.1.6 to 5.2.10 but at php -v I got a weird error, so I figured let's reinstall some things. This was the probably very dumb commando I used:

yum remove gcc-c++l zlib zlib-devel php*

Now I think my whole server is fxxxed because I get the following messages:

-bash: /usr/bin/yum: No such file or directory
-bash: rpm: command not found
-bash: ls: command not found

And the only thing I'm glad about is I still have an SSH connection open because creating a new connection isn't possible either. what should I do to repair this all.

View 3 Replies View Related

Ubuntu :: Error Bash ./executablename No Such File Or Directory

Feb 9, 2011

An executable fails to be found and run when called even though it is found and displayed by ls.I am on lucid LTS fully updated 32 bit.The file has permissions setup but any attempt to run it results in the error bash ./executablename No such file or directory

This situation also seems to be present in kcronsometimes my scripts dont run from it even thoughthe run now option does.This bug has been around since dapper it would be nice if someone could fix it.

View 9 Replies View Related

Ubuntu :: Chroot - Cannot Run Command '/bin/bash' - No Such File Or Directory

Jul 1, 2011

I have booted up into Ubuntu 10.04 LTS disc live.

When I type 'chroot /media/(UUID)', I get:

chroot: cannot run command '/bin/bash': no such file or directory.

'/bin/bash' does exist.

Why is this error occurring?

View 3 Replies View Related

Red Hat / Fedora :: Installing Java On F14 - Making Executable File?

May 30, 2011

I downloaded Java from the Java website, and went into the root to try and make it an executable file, and it says "chmod: cannot access `home/Non-Admin/Downloads/jre-6u25-linux-i586-rpm.bin': No such file or directory". Is there some sort of program I can install that will automatically turn the rpm.bin/.bin into an executable file?

View 8 Replies View Related

Ubuntu :: Chroot Not Working: Cannot Run Command `/bin/bash': No Such File Or Directory

Mar 20, 2010

I'm trying to change the root directory to /tmp/somedir using chroot, but even using sudo or su-ing to root I get the message:

Code:

cannot run command `/bin/bash': No such file or directory

I tried copying /bin/bash to /tmp/somedir/, but the same error occurs. What's wrong with my chroot?

View 7 Replies View Related

Fedora :: Zenity - Bash: [/code]: No Such File Or Directory

Apr 9, 2010

Awhile back, PabloTwo pointed me to zenity as a way to create bash scripts with changeable parameters. That thread is here, for anyone interested in reading about it: [URL] Anyway, my problem is that I'm trying to capture input that contains double-dashes ("--") but zenity (or maybe or it's bash???) complains with the following error message:

"This option is not available. for all possible usages.
bash: [/code]: No such file or directory"

Here's an example of what I'm doing:

Code:

# Select the time of day
Flytime=`zenity --list --text="Select the Time" --radiolist --height=300 --width=300 --hide-column=2 --column="Select" --column="Code" --column="Time of Day"
"" "--timeofday=real" "Local Time"

[code]....

What I want to accomplish is for the variable $Flytime to contain either "--timeofday=real" or "--timeofday=dawn" (without the quotes) depending upon which radio button is selected. I have tried escaping "--timeofday" (e.g. "--timeofday" and even "--timeofday") but that's not working.

View 3 Replies View Related

Fedora :: BASH :: Change File Stat In Sub Directory?

Oct 23, 2010

So I have created a Bash script with the intent of the program to change the names of the files in a folder's subdirectory.The code recognises the individual subdirectories, then is able to enter into one and list the files individually, but when it tries to change their information it says;' cannot stat ' : ' No such file or directory 'As if it is looking in the directory that contains the Bash script, not its subdirectory.It is essentially saying, I see a file here called FILE but sorry, I can't change FILE because FILE doesn't exist. kweh?Is this something outside the capabilities of Bash? Am I asking too much of it? Can Bash only manipulate files that are in the same folder as the script?

Code:
#!/bin/bash
echo enter directory

[code]....

View 6 Replies View Related

General :: Bash - Finding Newest File In A Directory?

Aug 24, 2010

Basically, I am trying to locate and copy the newest .json bookmark backup in my .mozilla/firefox/w987sdg9.default/bookmarkbackups directory.

I tried this

Code:

ls -t ~/.mozilla/firefox/b1ahb1ah.default/bookmarkbackups/ | head -1

which does return the newest file, but only the filename itself. I found readlink, but I haven't gotten that to output a full path which I can then feed to copy. So, it seems to me that find might work well here, and I know how to find based on absolute dates, but not relative.

View 2 Replies View Related

Ubuntu :: Bash: /home/randymanme/mozilla/firefox: No Such File Or Directory

May 30, 2010

How can I open the Firefox Profile Manager. I've googled and read but the directions don't work for me:

randymanme@randymanme-desktop:~$ /usr/lib/mozilla/firefox -ProfileManager
bash: /usr/lib/mozilla/firefox: No such file or directory
randymanme@randymanme-desktop:~$ /home/randymanme/mozilla/firefox -ProfileManager

[code]....

View 5 Replies View Related

General :: File Names And Tilde--not For Home Directory--in Bash?

Jun 6, 2011

I understand the tilde (~) at the end of a file displayed in bash is a backup file in the Linux file system. Is there a way to keep these hidden when listing the contents of a directory?

View 2 Replies View Related

General :: Cannot Move A File Into My Archives Directory In Bash Scrip

Apr 12, 2010

I cannot move a my file into my archives directory in my bash scrip.

View 7 Replies View Related

Programming :: Bash Script To Copy Specified Extension File From A Directory?

Mar 12, 2010

I have a directory and sub-directories (4 or 5 depths). There are several type with extension in them (*.mp3, *.wma, *.jpg, etc). I would like to copy the whole directory to another location recursively but only *.mp3 files.

View 11 Replies View Related

Programming :: Bash Script To Download A Directory Structure And A File?

Mar 20, 2009

I want to read an ftp site [URL]...and download the sub-directory structure and ONLY the tagfiles to the local directory.

FROM THIS:

Code:

slackware
+--a
| |aaa_base-12.2.0-noarch-1.tgz
| |aaa_base-12.2.0-noarch-1.tgz.asc

[code]....

I tried wget + grep but that didn't work too well.

View 2 Replies View Related

Ubuntu :: Bash: Cd: /home/mycomp/.nautilus/python-extensions: No Such File Or Directory

Aug 8, 2010

I was trying to install periscope, from the instructions here: http://code.google.com/p/periscope/wiki/NautilusSupport

The problem is that at:

cd ~/.nautilus/python-extensions

I get an error:

bash: cd: /home/mycomp/.nautilus/python-extensions: No such file or directory

View 6 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related

General :: Using For The Server - Bash: /etc/init.d/dhcpd.conf: No Such File Or Directory

Aug 24, 2010

# /etc/init.d/dhcpd.conf -bash: /etc/init.d/dhcpd.conf: No such file or directory what is the problem? and how to configure out "joe"

View 5 Replies View Related

Software :: Unable To Compile Gnome Commander - Bash: ./configure: No Such File Or Directory

Feb 2, 2011

I have downloaded the latest gnome commander source code from the gnome commander home page. Following the instructions in the readme I have extracted it from the tar ball and changed to the top level directory of the source code. I execute ./configure and get a bunch of "checking" results.

Quote:

bash: ./configure: No such file or directory
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9/src$ cd ..
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9$ ./configure

[code]....

I find Makefile.am and Makefile.in present in the directory. I generally install from deb packages. Still, I don't think it should be this hard to compile a package given the seemingly simple directions provided.

View 4 Replies View Related

Programming :: Bash Script: Sort Files Into Directory Based On Data In The File Name?

Sep 28, 2010

I have very little linux experience. And need some help with a bash script. I need to a script I can set cron to run to sort files out of a holding folder into final folders. It doesn't necessarily have to be bash, but I think it would be sufficient for this. File names are formatted as such when created: Dest-Date-Time-CID-Destination# I want the files to be moved from a all in one holding folder to a folder structure like this.

.../storage/year/month/day/Destination#/VarX(type)/hour/CID/'File'

I would need an if/else if/else statement to say if Dest = A set VarX = B If for example the file name was

infinity-20100927-17:00-1112223333-4445556666.wav

I would like the above file to end up moved from

.../holding

to

.../storage/2010/09/27/4445556666/Inbound/17/1112223333/infinity-20100927-17:00-1112223333-4445556666.wav

So the script will need to make directories based on information in the file name which is delimited by single dashes. Then move files from the holding folder to the newly created "sorted" folders.

View 15 Replies View Related

Programming :: STDIN, STDOUT, STDERROR Redirection For Scripting - Bash: Log.txt: No Such File Or Directory

Sep 7, 2010

I'm writing a script to execute bash commands in the PHP CLI. I would like to suppress errors from bash and write my own error message if an error occurs. So far I have this (assuming log.txt doesn't exist!):

Code:

tac log.txt 2>/dev/null

Which works as expected, tac kicks up an error but the error is suppressed, but when I use this:

Code:

tac < log.txt 2>/dev/null

I get:

Code:

bash: log.txt: No such file or directory

The tac error is suppressed but bash still gives me a dirty error.

View 2 Replies View Related

Slackware :: Installing Java Error - When Trying To Run A Java App With The Firefox Plugin - Browser Crashe

May 29, 2011

Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object

That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.

I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.

View 8 Replies View Related

General :: Installing .tar.gz Software - Saying There Is No Such File Or Directory

Jun 22, 2010

I am installing one software (pwDesktop [url])

I am using ubuntu 10.04

I am following these stapes:

But it saying there is no such file or directory.

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved