Hot Search: trace mac address on network konica minolta job parameters crashing is DVI compatible with vga drivers AC10_MainConfigSettingSP07 anything 0P_PRFP1 blackberry world will not open comcast mail
Home >Default > Cannot execute compiled binary

Cannot execute compiled binary

-0001-11-30 | Default
Advertisement
Hi.
Executing compiled binary(C/C++) from within the IDE gives me:
java.io.IOException: spawn failed: 'ERROR exec failed -- No such file or directory'
     at com.sun.tools.swdev.common.base.UnixProcessFactory.figure_pid(UnixProcessFactory.java:156)
     at com.sun.tools.swdev.common.base.UnixProcessFactory.spawn(UnixProcessFactory.java:239)
     at com.sun.tools.swdev.sunstudio.execution.TerminalProcess.terminalProcess(TerminalProcess.java:140)
     at com.sun.tools.swdev.sunstudio.execution.TerminalExecutor.run(TerminalExecutor.java:77)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)
java.lang.NullPointerException
     at com.sun.tools.swdev.sunstudio.execution.TerminalExecutor.run(TerminalExecutor.java:88)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)I can execute it from a terminal though.
I am using sun-jdk-1.4.2.10
Thank you for any help.

Latest answer

Advertisement
There are no obvious reasons why this should fail. We'll need more
information before we can be of much help. Can you tell me:
What platform you're on:
What version of Sun Studio (looks like ss11, but please verify):
When you run from the command line, are you directly exec'ing
the executable or going through a symlink?
Output of "find <your-executable>" command)
Output of "ls /etc/*release*"
Hopefully this will give us enough information to at least get some
idea of what the problem is.
Gordon

Related recommended

Cannot execute compiled binary

Hi. Executing compiled binary(C/C++) from within the IDE gives me: java.io.IOException: spawn failed: 'ERROR exec failed -- No such file or directory'      at com.sun.tools.swdev.common.base.UnixProcessFactory.figure_pid(UnixProcessFactory.java:156) [More]

-0001-11-30 Default

(App-store) Compilation failed while executing : compile-abc

I just upgraded to AIR16 and can no longer compile for the ios app store from Windows 7. Calling "adt -package -target ipa-test ..." with AIR16 works correctly, installs and runs on my device. Calling "adt -package -target ipa-app-store ... [More]

2015-10-11 Default

Compilation failed while executing : compile-abc

This is with the latest AIR 4.0 beta, dated 12/17, with "-useLegacyAOT no" on Mac, OS X 10.9. 0  compile-abc              0x0095d728 PrintStackTrace(void*) + 40 1  compile-abc              0x0095dba1 SignalHandler(int) + 449 2  libsystem_platfor [More]

2015-10-11 Default

How am I to be able a user to grant access only to see a procedure / function without execute,compile,edit and drop?

how am I to be able a user to grant access only to see a procedure / function without execute,compile,edit and drop?Sorry GregV but thank you, are you sure you can only be done by setting a PC? Can not by giving them certain privileges of a PC? PL \ [More]

-0001-11-30 Default

Trouble trying to execute a binary from jsp

Hello, I need to make an http request to a Solaris box that will execute a binary that exports data. I have been connecting to the Solaris machine using putty and executing a command like this: /usr/prms/prod/bin/exportEngine -f/usr/prms/run/work/exp [More]

-0001-11-30 Default

Unable to execute a binary file

I'm trying to run a server following the official instructions (http://www.ventrilo.com/setup.php#Server_Installing), but when I try to execute the binary i get this: [[email protected] ventsrv]$ ./ventrilo_srv bash: ./ventrilo_srv: No such file or directory [ [More]

-0001-11-30 Default

Compiled binary crashes during initialization on Solaris 10/x86 platform

Hi, I have a problem to run application built with Solaris Sun Studio compiler. It dumps a core which contains: $c_init+0x19a(1, 804761c, 8047624, 8047610, 80dabfd, 80da64c) _start+0x78(1, 8047744, 0, 804774c, 8047756, 8047829) > When application is [More]

-0001-11-30 Default

Getting "No such file or directory" when executing existing binary

Heya, I'm currently trying to get hpasm to run, but after installing I have some strange issue. The binary is there  but I can't execute it: [[email protected] ~]$ ls -l /usr/sbin/hpasmcli lrwxrwxrwx 1 root root 26 Oct 14 23:30 /usr/sbin/hpasmcli -> /opt [More]

-0001-11-30 Default

Executing compiled file under windows

Hi there, i got the following problem: i installed the jdk 1.5.0_06 on windows xp i did set environmental variables (Path, JAVA_HOME) i compiled a simple HelloWorld.java program no problems there, result was HelloWorld.class but when i want to start [More]

-0001-11-30 Default

Problem executing C++ binary on Unix, calling from PC

Hi- So, I get the following error: java.io.IOException: /nb2/dailyrainapp/gridtobindaily: cannot execute at java.lang.UNIXProcess.forkAndExec(Native Method) at ... gridtobindaily is the compiled C++ code. The RMI is all working well. For testing, I r [More]

-0001-11-30 Default

Click Ranking