Ubuntu :: Make With Make File Yields Error - /usr/bin/javac: Cannot Execute Binary File

Nov 17, 2010

When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.

I get an error indicating that the make utility cannot execute the java compile command (javac).

The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file

I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.

I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6

My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu

However, I can manually compile using javac.

I can compile calling javac from within a bash script.

I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe

But I cannot compile java code from the makefile. Any reasons why I might be getting this error?

View 4 Replies


ADVERTISEMENT

Server :: Binary File Error - Cannot Execute

Oct 13, 2010

When im typing any command its giving error -bash: /bin/ls: cannot execute binary file. how to resolve this im using fedora 13.

View 11 Replies View Related

Software :: Unable To Run C Program - Error : Cannot Execute Binary File

Mar 26, 2009

I have tried to execute the below ns.c program in RHEL 4 by using the command

#gcc -c ns.c -o ns.o

i am not getting any errors but while i am running object file by using the command

#./ns.o

i am getting the below error

bash : ./ns.o cannot execute binary file

/* trinoo daemon */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

[code].....

View 4 Replies View Related

Programming :: Make A Binary Tree From An External File?

Dec 7, 2010

My assessment is making a tree from a text file as follows: -reading a file line by line

-making a binary tree from it
- traverse by level the binary tree
- posting the traversal result to the same file without overwriting the text file- it is required to be append to the bottom of the text file (i have to do this in 4 languages: c#,PHP from Xampp,java, python)

i read the file with this script in java:
public class FileToStringArray {
privateString strLine;
privateString[] stringArray;
privateFileInputStream in;

[Code]...

View 9 Replies View Related

General :: Jre - RHEL-5 / Getting Error Jre-6u16-x64-rpm.bin: Line 368: ./install.sfx.20520: Cannot Execute Binary File"?

Oct 22, 2009

I have installed RHEL-5 on a 64-bit machine recently, and want to install java. Earlier when I did "java -version", it showed jre1.4.0. But for my application , I need jre 1.5.0 or later, so I decided to download jre1.6. I am the root user here and I downloaded the jre1.6 as rpm.bin as well as simple .bin format.

But the problem is that when I tried executing any of them, I am getting below error message :

" ./jre-6u16-linux-x64-rpm.bin: line 368: ./install.sfx.20520: cannot execute binary file"
Moreover, now when I tried "java -version", it is not showing any thing.

Could anybody suggest me how can I resolve this deadlock situation, as I need to install my other application at the earliest.

View 9 Replies View Related

General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

View 2 Replies View Related

Debian :: *.desktop File To Make Execute Start.sh?

Dec 17, 2010

Can i make a .desktop file taht it executes autostart.sh script or any other script?
like xmonad.desktop od dwm.desktop?so that when gdm or any other gui login manager loads autostart apps in xmonad?

View 4 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:

error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'

[code]....

View 5 Replies View Related

Ubuntu :: Cannot Execute The Binary File

Jul 14, 2010

I have a strange issue on one of my machines. The same thing works fine on all the others. When I execute:

Code:

sudo -u myuser -i ls

I get:

Code:

/bin/ls: /bin/ls: cannot execute binary file

On the other hand if I just run

Code:

sudo -u myuser -i

and then run ls, it executes successfully, but I don't want to stay logged in as myuser I just want to run a single command.

View 2 Replies View Related

Ubuntu :: Cannot Execute Binary File

Jun 7, 2011

I'm trying to install this app called genBlast. It's a bioinformatics tool that does some cool stuff (I guess the actual use doesn't matter that much). Anyway, it comes as a .tar.gz folder with about a dozen executables in it; no compiling necessary. I extracted it to the desktop so I didn't have to worry about permissions, and then just tried to run it from inside the directory (it's a command line app).

All of the executables work with a ./ except one, and it's the most important one for that matter. When I go to run it, I get the error message Code: bash: ./genblast: cannot execute binary file I've checked permissions with ls -l, run a chmod 'u+x' just to make sure, and everything else I can think of. But it just won't work. Also, I just installed it on another computer and it works fine, so I'm pretty sure it's on my end.

View 2 Replies View Related

Ubuntu :: Why Can't Execute Binary File (cinelerra)

Jan 3, 2010

I am using Karmic. I just downloaded Cinelerra from sourceforge. Apparently there is no installation, you just run the binary (according to the Readme). The binary is set to be executable (-rwxr-xr-x), but when I double click it in nautilus nothing happens. When I go to the app directory in the terminal and do:

[Code]...

View 3 Replies View Related

Ubuntu Servers :: 10.04 Cannot Execute Binary File

Dec 22, 2010

Trying to install Parallels Plesk Panel 10 x86_64 onto a completely new installation of Ubuntu 10.04.1 LTS

root@server:~# chmod +x parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
root@server:~# ./parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
-bash: ./p.arallels_installer_v3.7.1_build101014.17_os_Ubun tu_10.04_x86_64: cannot execute binary file

View 5 Replies View Related

Fedora :: Cannot Execute Binary File?

Sep 20, 2010

I'm new to Fedora, and haven't used any flavor of Linux in years. I'm attempting to run a few benchmarks that were given to me by my instructor, but every one I try to run gives an error "Cannot execute binary file". For instance,.inp.inThis command gives an error:bash: ./Mcf: cannot execute binary fileIt is not a permission problem, I have confirmed the file has execute permissions (one of the things I still remembered after all these years). I suspect all the benchmarks I have been given were compiled on Ubuntu. Would this be causing the problem? I do not have access to the source code, so I cannot recompile. If that is the problem, is there a way around it that doesn't involve throwing away a weekend and starting fresh on Ubuntu?

View 1 Replies View Related

Fedora :: Execute The .x86 Binary File?

Sep 24, 2010

I found a Linux .x86 binary file that I've been looking for, but not sure what to do with it. Does this (*.x86) binary file format seem like something that could simply be run by command, or something that would need to be compiled first? There is not much information that I could find regarding the particularly file.

View 11 Replies View Related

Red Hat / Fedora :: Cannot Execute Binary File

Nov 3, 2010

I tried to restart my httpd service.cannot execute binary file seems like the HTTPD wasnt stopped while it should be stopped. it skipped the 'stop' and just right away jump into 'start' command. my case is i just changed some php.ini configuration, and to have it changed i need to restart after changes.am i correct if i say my '/bin/rm' and '/bin/touch' files are corrupted?

View 3 Replies View Related

Software :: 'Cannot Execute Binary File'?

Sep 16, 2010

I have download a 'package' that is meant to be used for genetic research and such...Anyway, i have downloaded the file and when i try to execute the included example, it says cannot execute binary file. i've tried all sorts of permissons/re-downloading/etc. I've pastted the attached readme that I followed EXACTLY, but am still gettin an error[URL]m/here is the readme that comes with it:EMINIM : Expectation-Maximized INtegrative IMputation

0. GETTING STARTED
0.1 Uncompress the package
$ tar xzvf eminim-1-beta.tar.gz

[code]...

View 7 Replies View Related

Programming :: Cannot Execute Binary File

Feb 11, 2011

I'm trying to compile a simple script for a ar71xx (bleeding edge /from snapshots) Openwrt router.I have previously compiled scripts for Kamikaze 8.09. I just copied the gcc file inside the SDK dir and used it without problems.

View 4 Replies View Related

Programming :: Sms Server Tools Cross Compiling Sms Server Tool For An Embedded Computer And Make Just One Binary File For It?

Mar 27, 2010

I wanted to know how can I cross compile SMS SERVER TOOL for an embedded computer and make just one binary file for it or how can I change all of its default files places like its demon and object file and gather all of them to one directory to execute and use and run.let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.now you tell me what can I do to solving this problem.

View 1 Replies View Related

Software :: MPICH2 Software Installation - Execute The Compile Command 'make' To Generate The Binary Codes Of MPI?

Jul 21, 2011

I'm new to linux, and I've been following a paper [URL] to build a linux cluster using RedHat 5. I'm up to part VII step 5, installing the message-passing software MPICH2-1.4, and I'm not quite sure how to "execute the compile command 'make' to generate the binary codes of MPI."

View 13 Replies View Related

Ubuntu Installation :: .sig And .bin Files - Terminal Responds Cannot Execute Binary File?

Jun 11, 2011

I have two sets of drivers to install, one for a wireless device I'm trying to enable and the other is an driver set for a newly installed nVidia graphics card. Both drivers are from the manufacturers site.I'm running Ubuntu 10.04 on a Dell Precision 380.In terminal:

chmod a+x rt2870.bin
then:
./rt2870.bin

[code]...

View 3 Replies View Related

Installation :: Oracle RPAS 13.1.1 DomainDaemon Cannot Execute Binary File

Apr 14, 2010

We are trying to install Oracle RPAS 13.1.1 on Redhat Enterprise 5 Linux Server, when we open the directory rpas/rpas/bin, the file DomainDaemon needed to start this server can be seen, but when we try to execute it as ./DomainDaemon it says "cannot execute Binary file", for that reason all files in this directory are giving same message .

We have tried the following :-
a) Given Execute permissions using chmod and run that.
b) Done file DomainDaemon to see if the file is corrupt.
c) Even tried executing using superuser account.
d) The OS and updates required as per Hw&Sw Requirements of RPAS 13.1.1 are there.
e) The directory has Execute Permissions

View 3 Replies View Related

General :: -bash: /usr/sbin/amrecover: Cannot Execute Binary File

Jun 8, 2010

I just installed amanda-backup_client-2.6.0p2-1.rhel4.i386.rpm on my Red Hat Enterprise Linux 4 system. But I don't know who to check if it successfully installed or not. When I try to run amrecover from root, I get:

-bash: /usr/sbin/amrecover: cannot execute binary file

View 4 Replies View Related

Ubuntu :: Contex Menu [Make Link] Make Same File Size?

Dec 17, 2010

I notice that when you try to Make link to any file or folder form context menu, It just copy the same file size? even when i tried to copy the link to external storage disk..

View 1 Replies View Related

Software :: Jdk1.5.0_08 Install - Cannot Execute Binary File - X86_64 Versus Ia64

Sep 17, 2009

I have java jdk1.5.0_08 installed on linux x86_64 architecture and I can execute java -version no problem. I took the same binaries and installed on ia64 architecture and the command java -version gives and error "cannot execute binary file" The Linux OS versions are 2.6.18-128.1.10.el5 on x86_64 and 2.6.18-128.4.1.el5 on ia64 Do you know whether the jdk1.5.0_08 binaries are compatible between x86_64 and ia64 architecture. The answer may be no, but I may be wrong and there could be some other issue. Where can I get the jdk1.5.0_08 specific to ia64 architecture for Linux version 2.6.18-128.4.1.e15

View 1 Replies View Related

Ubuntu :: Error Installing Ffmpeg - Unable To Make Executable File

Jul 20, 2011

I tried to install ffmpeg on 7.04(Fiesty Fawn). when i ran ./configure from terminal window, i got error regarding c compiler that unable to make executable file.

View 5 Replies View Related

Ubuntu Installation :: Installing Linphone-3.3.0 - Error Message Make File Is Not Found

Jun 14, 2010

I downloaded linphone 3.30 using mozila and tried installing. while giving the command ./configure it was successful and next giving the command make gives me a error message make file is not found. but makefile.am and makefile.in is already available in the current working directory.

I have given the link of the pastebin for ./configure command and make command..

View 4 Replies View Related

OpenSUSE :: Error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory?

Oct 6, 2010

I've downloaded a linux driver for my wireless card (Realtek 8191SE), and whenever I try to make it it gives me the following error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2I have installed make, pattern devel_basis devel_C_C++, kernel-source, linux-kernel-headers, gcc43, etc.I also tried linking them:# ln -s /usr/src/kernel-headers-2.6.31.5-0.1-desktop /lib/modules/2.6.31.5-0.1-desktop/buildln: creating symbolic link `./build': File existslinux-ynct:/lib/modules # ls2.6.31.14-0.1-debug 2.6.31.14-0.1-desktop 2.6.31.5-0.1-desktop2.6.31.14-0.1-default 2.6.31.14-0.1-xen

View 9 Replies View Related

General :: Getting Error : Make: *** /lib/modules/2.6.31-20-generic/build: No Such File Or Directory On 9.1?

May 9, 2010

When trying to install my WiFi card's driver on Ubuntu 9.1, I run the make command and get the following error:make: *** /lib/modules/2.6.31-20-generic/build: No such file or directory

View 1 Replies View Related

General :: Make Error - Make[2]: *** No Rule To Make Target

Oct 7, 2010

I am getting an error as below.

How do I resolve the error: make[2]: *** No rule to make target `', needed by `mpg123'.

How can I resolve this error.

View 4 Replies View Related

Debian :: When Try To Make A Directory Or Upload A File It Returns An Error Saying That Permission Is Denied?

Apr 9, 2010

I ftp into the server and see the files, but when i try to make a directory or upload a file it returns an error saying that permission is denied.I am wanting the users to be able to log on with their user account and then be able to have full control over their directories. What can i do to fix this problem?I have enabled port forwarding for ftp. What else is there i can do? If you need any extra information, let me know! I would like to get this fixed asap!Here is my vsftpd.conf file.

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file

[code]....

View 4 Replies View Related







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