Runtime.exec() on RedHat Linux

Guys
Like many before me, it seems, I've having a nightmare with Runtime.exec() across platforms when executing local files.
I've gone for the basic but robust strategy of writing the required function to a local file and then executing the file. This has worked fine on Windows NT/2000 and on Solaris. But RedHat Linux doesn't want to know.
I know my permissions are good to execute. I can create the file then run it at the command line, but then whenever I go to run from within Java I get an exit value of 255.
An old chestnut, I know. But can anyone offer an help?
Cheers
Dom

Here's a small class & main method that illustrates the problem.
The output I get is:
File path: /tmp/Temp26345.sh
chmod +x exit value: 0
Executing file: 255
I can then go into /tmp and run ./Temp26345.sh at the command line and get the "ls" command to run.
import java.io.*;
public class FileExecutor
     public static void main( String[] args )
          if( args.length == 0 )
               System.out.println("Arguments must be given: [filename] [writeable]");
               return;
          try
               FileExecutor fe = new FileExecutor();
               File executable = fe.createFile( args[0] , args[1] );
               fe.executeFile( executable );
          catch( Throwable t )
               t.printStackTrace();
     public File createFile( String fileName , String contents )
          throws IOException
          //Create the file.
          File tempFile = File.createTempFile( fileName , ".sh" );
          //Write to the file.
          FileOutputStream fos = new FileOutputStream( tempFile );
          OutputStreamWriter osw = new OutputStreamWriter( fos, "UTF-8" );
          int length = contents.length();
          osw.write( contents , 0 , length );
          osw.flush();
          osw.close();
          fos.close();
          return tempFile;
     public void executeFile( File file )
          throws InterruptedException , IOException
          String filePath = file.getAbsolutePath();
          System.out.println( "File path: " + filePath );
          Runtime runtime = Runtime.getRuntime();
          //Actual system permission.     
          Process process_perm = runtime.exec( "chmod +x " + filePath );
          int exitValue = process_perm.waitFor();
          System.out.println( "chmod +x exit value: " + exitValue );
          //Execute the file.
          Process process_exec = runtime.exec( filePath );
          exitValue = process_exec.waitFor();
          System.out.println( "Executing file: " + exitValue );

Similar Messages

  • Runtime.exec() problem with Linux

    Hi All,
    I have a java program which I am using to launch java programs on all platforms.
    I am using the Runtime.exec() method to start the process in a separate JVM.
    But, I had a problem with the -classpath switch if the directories contained spaces. So I modified the java command which I am passing to the exec() method to something like:
    java -classpath \"./my dir with spaces\" com.harshal.MainThis I had to do because of the problem in windows. But, if I use double quotes in Linux (for the classpath switch in my exec() method), it won't work.
    Can anyone correct me so that I can use the Runtime.exec() method on all platforms to launch the java application even if the classpath directories contains spaces.
    Thank you very much.

    I was reading about the command line args on java's
    tutorial and I found a shocking news. Mac OS doesn't
    support command line args, That's news to me. Could you please elaborate ?
    More important is: I got it working. I figured out I had forgotten to try something before, or, to be more correct, I made an error when trying malcommc's envp suggestion: I used "classpath" as key, not "CLASSPATH", as it should have been.
    Ran a new test, got it working.
    Sample:
    Given a rootdir. Subdirectory "cp test" with a classfile (named "test") without package declaration. Running another class in another directory, using:
    String[] cmd = new String[]{
        "java", "test"
    String[] envp = new String[]{
        "CLASSPATH=rootdir:rootdir/cp test" // <-- without quotes.
    Runtime.getRuntime().exec(cmd, envp);It's been my wrong all the time. I didn't check hard enough. It simply had to work somehow (that's the kind of things that's easy to say afterwards :-)).

  • Inconsistent Return Code from exec on RedHat Linux

    I am calling a simple command from the RunTime exec.
    /bin/cp file1 file2 file3
    This should fail and it returns a two line stderr output. The problem is that it also returns an exitValue of 0. When run from the shell, it always returns 1. Any idea where the "1" is going to under Java?
    I have seen it return the 1 on about 2 of 10 tries. The inconsistent return is also curious to me.

    I did use waitFor. After searching through the bug reports, I found that it is an actual bug that was in 1.4.1_02. I downloaded 1.4.2 beta and they have fixed the problem there.
    Thanks for you input

  • Runtime exec to run linux scripts

    Hi,
    I have been having trouble running a simple linux script from within my java program. So far, this is the command line i am passing to the exec() method:
    String[] commandArray = {"/bin/sh", "-c", "sh",
    "/home/charles/java/ideaProjects/Condor/linuxScripts/LinuxSubmit.sh",
    "TwoMinTest.cmd"};
    Process proc = rt.exec(commandArray);
    The last paramater, "TwoMinTest.cmd" is a varibale that is passed to the script. The command works fine from a linux terminal window but from the java program the process just hangs with no out put from the script (the script does an echo "hello" first). Both the error and input streams obtained from the process do not output anything. If i instert a deliberate mistake into the command the error stream outputs it fine. Any idea why it hangs?
    thanks, Charles

    I've fixed it for anyone who's interested, this is what i did:
    String[] commandArray = {"/bin/sh", "-c", "sh"};
    Process proc = rt.exec(commandArray);
    OutputStream out = proc.getOutputStream();
    PrintWriter p = new PrintWriter(out);
    p.println("sh /home/charles/java/ideaProjects/Condor/linuxScripts/LinuxSubmit.sh " +
    "TwoMinTest.cmd");
    p.flush();
    and it flew like a bird.
    charles

  • Runtime.exec() on Linux RedHat. help!!

    Guys
    I've having a lot of problems with Runtime.exec() across RedHat platforms.
    I'm trying to execute a external process but it doesn't responds.
    when I execute the 'ps' sentence the process appears, but apparently don't work.
    If I run this proccess at the command line, it works fine.
    Can anyone offer an help?
    Thanks

    Don't forget that the output of the "Process" is not redirected to "System.out".
    --> if you want to see the output, you'll have to get the output stream of the process and dump it yourself
    InputStream processOutput = process.getOutputStream() ;
    byte buffer[] = new byte[ 512 ] ;
    while( true ) {
    int read = processOutput.read( buffer ) ;
    if( read<=0 ) {
    break ;
    System.out.write( buffer, 0, read ) ;
    }

  • How to make Runtime.exec call Linux exec?

    Howdy,
    I am trying to use a combination of 'find' and 'rm' to delete all files with a certain extension in a directory and all of its subdirs.
    Here's the command:
    Process proc = runtime.exec("find " + dir + " -name '*.vcs' -exec rm -rf {} \\;");
    It's failing, not sure why, the exitCode is 1 instead of 0. I'm not sure if it's because I have to escape the '\' character, or if it's because I am calling Linux's 'exec' function within a Java exec() call, or something else entirely.
    The easiest thing to do would be to just use rm, but that doesn't seem to be an option. With rm it seems to be all or nothing -- If I try:
    rm -rf *.vcs
    it fails if it doesn't find a file with that extension in the start directory (even though I've specified -r). But if I enter:
    rm -rf *
    it nukes my directories AND files, something I don't want to happen. I realize this is a Linux thing, I'm just explaining it here as background, just in case.
    Anyway, so is there a way to do this? Perhaps with another system call, without using Linux's exec()?
    Many thanks
    Bob

    import java.io.*;
    public class ExecutingALinuxCommand
        static class PipeInputStreamToOutputStream implements Runnable
            PipeInputStreamToOutputStream(InputStream is, OutputStream os)
                is_ = is;
                os_ = os;
            public void run()
                try
                    byte[] buffer = new byte[1024];
                    for(int count = 0; (count = is_.read(buffer)) >= 0;)
                        os_.write(buffer, 0, count);
                catch (IOException e)
                    e.printStackTrace();
            private final InputStream is_;
            private final OutputStream os_;
        public static void main(String[] args)
            try
                String dir = System.getProperty("user.home") + "/work/dev";
                String[] command = {"sh","-c", "find " + dir + " -name '*.java' -exec grep -l Runtime {} \\;"};
                final Process process = Runtime.getRuntime().exec(command);
                new Thread(new PipeInputStreamToOutputStream(process.getInputStream(), System.out)).start();
                new Thread(new PipeInputStreamToOutputStream(process.getErrorStream(), System.err)).start();
                int returnCode = process.waitFor();
                System.out.println("Return code = " + returnCode);
            catch (Exception e)
                e.printStackTrace();
    }

  • Performance issue Runtime. exec("cp folder1 folder") in Linux,Weblogic.

    Using Runtime. exec() copying files from folder1 to folder2 using cp command in Linux. It will take each file copy 2 sec if we use web logic 10.3 and jrocket. if we run in Linux without web logic it takes only 0.013 sec. why it takes more time to load cp command with web logic.
    Environment
    Weblogic 10.3
    Linux 5.2
    Jrocket 1.6

    A 64 bit VM is not necessarily faster than a 32 bit one. I remember at least on suggestion that it could be slower.
    Make sure you use the -server option.
    As a guess IBM isn't necessarily a slouch when it comes to Java. It might simply be that their VM was faster. Could have used a different dom library as well.
    Could be an environment problem of course.
    Profiling the application and the machine as well might provide information.

  • Runtime.exec() does not work under Linux

    Hi,
    I have a generic application runner class that runs an external
    program and redirects stdout/stderr to a buffer/file.
    While everythings works just fine under Windows, I get the
    following exception under Linux trying to run the Java interpreter
    'java':
    java.io.IOException: "/usr/lib/SunJava2-1.3.1/jre/bin/java": not found
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:139)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:546)
    at java.lang.Runtime.exec(Runtime.java:413)
    I have checked that the file /usr/lib/SunJava2-1.3.1/jre/bin/java
    exists.
    Any help appreciated!
    Marc

    can I ask how you solved it? I am having a problem
    with quotes just now to and it might help me!I simply tested what the current platform is and
    only used quotes under Windows.
    Marc

  • Runtime.exec(), linux and redirection

    Hi all,
    I need to exec an external command from java under linux, and have both the stderr and stdout of the command redirected to the
    stdout, so that I can capture them and keep them in synch in the java app. I've tried many combination, but I'm unable to make
    this work: only the standard output shows up. Note that I can make this work under windows.
    A java code example and a small C example to simulate the program to be invoked follows. Running the java program should show both the "messsage" and the "error" lines, but it shows only the "message" ones.
    Note that removing the apparently redoundant ">&1" doesn't solve the problem. I got a suggestion to modify the exec invocation into
    String[] cmd = { "/bin/sh", "-c", "./test1 >&1 2>&1" };
      Process p = Runtime.getRuntime().exec(cmd); but that didn't work eiter.
    Can anyone tell me where I'm wrong?
    Roberto
    ======================= class test.java ================================================
    import java.io.*;
    public class test {
      public static void main(String args[]) {
        new test();
      public test() {
        try {
          Process p = Runtime.getRuntime().exec("/bin/sh -c ./test1 >&1 2>&1")
          InputStream inStr = p.getInputStream();
          BufferedReader inBr = new BufferedReader(new InputStreamReader(inStr));
          String line;
          while((line = inBr.readLine()) != null) {
            System.out.println("line = "+line);
          try {
            p.waitFor();
          } catch(InterruptedException ex) {}
          System.out.println("process terminated with code = "+p.exitValue());
          inBr.close();
        }catch(IOException ex) {
          System.out.println("IOException : "+ex.getMessage ());
    }======================= end of class test.java ================================================
    ======================= test1 program ================================================
    #include <stdio.h>
    int main(int argc, char **argv) {
      int i;
      for(i=0; i<100; i++) {
        fprintf(stdout, "message %d\n", i);
        fprintf(stderr, "error %d\n", i);
    }======================= end of test1 program ================================================

    Redirection dosen't work with Runtime.exec(), it really dosen't have sense. Do the foolowing:
    String[] cmd = { "/bin/sh", "-c", "./test1" };
    Process p = Runtime.getRuntime().exec(cmd);
    OutputStream out = p.getOutputStream();
    //now wrte out to the file, formating as you want
    What is doene obove is execute your command, without redirection, and the obtaininh the output stream of the created process. This is "the place" where the process will write everithig it'll would write in the console if executed there.
    The handle the OutputStream as any other OutputStream, and write it to the HD or do whtever you want.
    Abraham.

  • Problem of executing a process under Linux using Runtime.exec

    Hi, All
    I am having a problem of executing a process under Linux and looking for help.
    I have a simple C program, which just opens a listening port, accept connection request and receive data. What I did is:
    1. I create a script to start this C program
    2. I write a simple java application using Runtime.exec to execute this script
    I can see this C program is started, and it is doing what it supposed to do, opening a listening port, accepting connection request from client and receiving data from client. But if I stop the Java application, then this C program will die when any incoming data or connection request happens. There is nothing wrong with the C program and the script, because if I manually execute this script, everying works fine.
    I am using jre1.4.2_07 and running under Linux fedora 3.0.
    Then I tried similar thing under Windows XP with service pack2, evrything works OK, the C program doesn't die at all.

    Mind reading is not an exact science but I bet that you are not processing either the process stdout or the stderr stream properly. Have you read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html ?

  • Runtime.exec() under Linux

    My game's installer works on windows and mac but on linux it's getting this error:
    java.io.IOException: Cannot run program "javaw": java.io.IOException: error=2, No such file or directory
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    Here's my code:
      public void runProgram(){
        String dir = folder;
        if(os_type == LINUX && dir.charAt(0) != '/'){
          dir = "/"+dir;
        File file = new File(dir+"SFC_Updater.jar");
        if(file.isFile() == false){
          System.err.println("Could not find updater jar: "+file.getPath());
          throw new RuntimeException();
        if(os_type == LINUX){
          System.err.println("Attempting to run with special linux arguments because linux is SPECIAL!");
          String[] args = new String[4];
          args[0] = "javaw";
          args[1] = "-jar";
          args[2] = "\""+dir+"SFC_Updater.jar\"";
          args[3] = dir;
          try{
          Runtime.getRuntime().exec(args);
          catch(Exception e){
           System.err.println("Linux Fails.");
           e.printStackTrace();
        else{
          try{
            Runtime.getRuntime().exec("javaw -jar \""+dir+"SFC_Updater.jar\" "+dir);
          catch(Exception e){
            e.printStackTrace();
      }Thanks

    Have you tried including the full path for javaw in
    the Linux version?It is interesting to note that the Linux version does not have a javaw

  • Runtime.exec(), so much fun

    I'm at the bang your head on the monitor stage of this.
    I have some executables written in C that I need to be able to executed. They require an input file for processing and generate an output file with results, no big deal.
    They both run great from a command prompt. (I'm running on linux with j2sdk1.3.0 by the way)
    Now if I call one of them with Runtime.exec(), it runs perfectly as expected. Everything goes in, Everything comes out, Everyone is happy.
    If I call the other, It says it runs, I get an exit value of 0, the output file is created, but empty.
    I thought I could open a shell with Runtime and then try to get it to run from there to see if it would make any difference, but I was unable to get the shell to call the executables to run with the arguments for input. There is something weird with the way Runtime feeds the strings to the shell. I tried a couple variations.
    Then I thought, what the hell, I wonder if I can write a shell script that calls the executables and see what I get from there. So I wrote a little script that just calls the executable with one little hard coded input, just to see if it would run. Run the script from a command prompt, works great and as expected. Try to call the simple little script from Runtime.exec() and I get a segmentation fault.
    At this point, I'm almost giving up on an easy answer for what in theory should be taking a few lines of code.
    If anybody has a clue on how to approach this or what might be causing this, please let me know.
    for the whole saga
    http://www.javaranch.com/ubb/Forum13/HTML/000198.html
    http://www.javaranch.com/ubb/Forum34/HTML/001360.html
    Any response here would be appreciated.

    I guess clicking on links and reading is too much to
    ask.I admit I didn't read the thread there. Shame on me.
    But i did this litle test.
    Here I have a C program that reads from a file two numbers and writes some lines to another. The names are passed in command line.
    #include <stdio.h>
    #define NAME "[first test program]"
    int main(int argn, char** args) {
      FILE* in = NULL;
      FILE* out = NULL;
      int exitCode = 0;
      int nLoops = 0;
      int nSec = 0;
      int i;
      if(argn < 3) {
        fprintf(stderr, "%s usage: %s inFile outFile\n", NAME, args[0]);
        exitCode = 1;
        goto _exit;
      in=fopen(args[1], "rt");
      if(in == NULL) {
        fprintf(stderr, "%s Cannot open file %s\n", NAME, args[1]);
        exitCode = 2;
        goto _exit;
      out=fopen(args[2], "wt");
      if(out == NULL) {
        exitCode = 2;
        goto _exit;
      fscanf(in, "%d", &nLoops);
      fprintf(stdout, "%s read %d loops from %s\n", NAME, nLoops, args[1]);
      fflush(stdout);
      fscanf(in, "%d", &nSec);
      fprintf(stdout, "%s read %d seconds to sleep from %s\n", NAME, nSec, args[1]);
      fflush(stdout);
      for(i=0; i<nLoops; i++) {
        fprintf(stdout, "%s try to write line %d on %s ... ", NAME, i, args[2]);
        fflush(stdout);
        sleep(nSec);
        fprintf(out, "%s line number %d\n", NAME, i);
        fprintf(stdout, "done\n");
        fflush(stdout);
      fflush(out);
    _exit:
      if(in != NULL) fclose(in);
      if(out != NULL) fclose(out);
      return exitCode;
    }I created an executable c1 and the I modified the NAME and created another executable c2.
    The I wrote a small java test class :
    import java.io.*;
    public class test {
        public static void main(String[] args) {
         String[] cmd1 = { "./c1", "input1", "out1" };
         String[] cmd2 = { "./c2", "input2", "out2" };
         Runtime r = Runtime.getRuntime();
         try {
             Process p1 = r.exec(cmd1);
             Process p2 = r.exec(cmd2);
             BufferedReader r1 =
              new BufferedReader(new InputStreamReader(p1.getInputStream()));
             BufferedReader r2 =
              new BufferedReader(new InputStreamReader(p2.getInputStream()));
             String l1 = r1.readLine();
             String l2 = r2.readLine();
             while(l1!=null || l2!=null) {
              if(l1 != null) System.out.println("from java proc 1:\t" + l1);
              if(l2 != null) System.out.println("from java proc 2:\t" + l2);
              l1 = r1.readLine();
              l2 = r2.readLine();
         } catch (Exception ex) {
             ex.printStackTrace();
    }The imput files contains on a single line the number of lines to write on the output file and a sleep time between lines, like:
    100 1This test runs fine on my linux box.
    I have a RedHat 7.0 on a PIII, kernel 2.2.16-22 .
    You can try and see if it is working on your box. I think it will. My guess is that the problem is somehow on the second c program.
    I didn't read the other thread, so maybe the answer is there, but I'll ask: the problem is with a specific program, or allways happen with the second that you run?
    Anyway, it will be nice if you can isolate the problem in three small source files and send them here.
    Regards,
    Iulian

  • Runtime().exec( "ls output.file" ) does not work....

    I try the following program in RedHat linux 7.1. It return silently but no output.file is created? What can i do? Please help!
    //start of program
    public class s{
         public static void mainj( String args[] ){
              try{
                   Runtime.getRuntime().exec( "ls > output.file" );
              }catch( Exception e ){
                   e.printStactTrace();
    //end of program.
    The program return silently, but no output.file is created? what can i do? please help...

    I have tried to put the "ls > output.file" into a command.sh file, and change the line:
         Runtime.getRuntime().exec( "./command.sh" );
    But still, no output.file is created?
    What can i do....
    please help....

  • Problem building Client JVM on RedHat Linux 7.1

    Hi :)
    I am trying to build the client VM on RedHat Linux 7.1. I have religiously followed all the pre-requirements, making sure that I meet them all.
    Nevertheless, I get a bunch of error messages. They are divided into two categories:
    - "cannot convert int * to socklen_t * in various methods in the file src/os/linux/vm/hpi_linux.hpp
    - "class blah is implicitly friends with itself"; this one happens in various souce files, e.g. /share/vm/ci/ciObject.hpp
    Any ideas?
    Thanx :)
    Nikitas

    nikitas25 posted a message on March 17, 2002, about trying to build the HotSpot client on a RedHat 7.1 box and receiving a number of errors about:
    - "cannot convert int * to socklen_t *"
    - "class <blah> is implicitly friends with itself"
    I've been trying to build HotSpot 2.0 client on RedHat 7.3 and getting the same error messages starting with this file: src/share/vm/runtime/classLoader.cpp
    In function `int hpi::accept (int, sockaddr *, int *)':
    ....src/os/linux/vm/hpi_linux.hpp:84:
    cannot convert `int *' to `socklen_t *' for argument `3' to
    `accept (int, sockaddr *, socklen_t *)'
    In file included from ../generated/incls/_classLoader.cpp.incl:169,
    from ..../src/share/vm/runtime/classLoader.cpp:18:
    ....share/vm/ci/ciTypeArrayKlassKlass.hpp:22: class `ciTypeArrayKlassKlass' is
    implicitly friends with itself
    Has anybody else experienced this problem? If so, what did you do to fix it?
    I've tried with gcc-2.96-110 and gcc-3.1.1 along with jdk-1.3.1 and j2sdk-1.4.0 and no combination of the compilers works.
    Jeff

  • Error While Installing ORACLE 10g in Redhat Linux 5.0

    Hi all,
    Anybody please guide me regarding the posted error.
    I'm trying to install ORACLE 10g in Redhat Linux 5.0 and finding error as "Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-10-15_09-20-56PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    I tired a lot to sort it out but unable to resolve.So please tell me the possible ways.
    I appreciate all types of clarifications...
    Thanks in Advance
    Sajeev George

    Sajeevcmc wrote:
    Hi,
    Thanks for the reply.
    Could you please tell me the rpm full name and where i can download the same?
    Thanks in Advance
    SAJEEV GEORGEYou need to have the following packages installed already before starting Oracle installation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15669/pre_install.htm#sthref80
    binutils-2.15.92.0.2-10.EL4
    compat-db-4.1.25-9
    control-center-2.8.0-12
    gcc-3.4.3-9.EL4
    gcc-c++-3.4.3-9.EL4
    glibc-2.3.4-2
    glibc-common-2.3.4-2
    gnome-libs-1.4.1.2.90-44.1
    libstdc++-3.4.3-9.EL4
    libstdc++-devel-3.4.3-9.EL4
    make-3.80-5
    pdksh-5.2.14-30
    sysstat-5.0.5-1
    xscreensaver-4.18-5.rhel4.2
    And from the following link, you can get the same list:
    http://www.puschitz.com/InstallingOracle10g.shtml (Go to Checking Software Packages (RPMs))
    And from my installation guide you can easily install Oracle on Linux by following step by step instruction
    [Step by Step Installing Oracle Database 10g Release 2 on Linux (CentOS) and AUTOMATE the installation using Linux Shell Script|http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

Maybe you are looking for

  • Why should I use Java

    HI, Someone asked me why are you using Java when you can use Visual Basic. Well, I ask this question in this forum ?? why ... please leave out the portablity part --j                                                                                    

  • Concert broadcast via skype

    Being a neophyte to this medium, I'm looking for advice or the availability of a tutorial on how our music organization can use skype in a public concert. Our plan is to have a series of duets involving one person in our concert facility performing w

  • Itunes movie cover art

    When I import movies (ones I did not download from iTunes) I always put in a poster for the artwork. But I have one stubborn movie and it will not take any artwork for it. I drag the artwork in the box and click ok but nothing happens. The artwork is

  • ¿Cómo copio una URL de la barra de dirección de Firefox en Firefox OS?

    Estoy intentando copiar una URL que me aparece en la barra de dirección del navegador, logro seleccionarla pero no encuentro por ningún lado una opción que me permita copiarla o cortarla, menos aún pegarla. Cuando mantengo presionado el texto selecci

  • IPhone 5s Sprint Lock

    Hi, I got a iPhone 5s From Freind, but i cant use the phone, it say its lock what is that