Cannot find javaw.exe

Windows only.
If, when you double click the pdfsam.exe, an error window shows the message “Cannot find javaw.exe”, it means that it cannot find a working Java installation. To solve this problem try installing (or reinstalling) a working Java Runtime Environment (1.4.2 or above). It can be found here http://www.java.com .

Andrea

72 Comments

  • Reply

    I had this problem for jperf : Windows cannot find javaw.exe

    I use Windows 7 64 bits

    Do a search for javaw.exe on C:

    For me it found C:\Program Files (x86)\Java\jre7\bin

    Edit the environment variables (Computer > Properties > Advanced > Environment Variables

    Locate Path at System Variables

    You should have some values like Nvidia, Powershell etc…. add ; and add this : C:\Program Files (x86)\Java\jre7\bin

    So it should be like that : C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre7\bin

    Validate , it works ! :)


    • Wayne, thaks for the post… time saver for me :-)


    • Thanks! Worked great for me.

  • Reply

    Thank you!!!!! Updated java and it worked.

  • Reply

    thanks downloaded java from the above given link and it worked


    • Sorry but your solution has a big flaw: Java security updates will have no effect, you will always use the outdated version you copied to the Windows directory.

      Basically Jav should set the right path itself (and did so in earlier versions), but for the moment I’d strongly recommend using the PATH environment variable addition proposed earlier.

  • Reply

    Same problem as everyone so I read all 53 posts.

    The answer to anyone’s problem depends on the exact version of Windows you have. So the first thing to do is find out if you have Windows7 32 bit or Windows 7 64 bit. Roght click My Computer > Properties. It will say which version you have.

    Find javaw.exe on your computer (C:\Program Files\Java\jre7\bin). Copy it.
    If you have the 32-bit version paste it in the C:\Windows\System32 folder.
    If you have the 64-bit version then past it in the C:\Windows\SysWOW64 folder.

    Forget about all the paths, pdfsam folder,etc. javaw.exe must reside in the system folder associated with your version of Window 7.

    In my case I have the 64-bit version and had to copy javaw.exe and paste it in the SysWOW32 because it wasn’t there. Bingo.


    • Sorry but your solution has a big flaw: Java security updates will have no effect, you will always use the outdated version you copied to the Windows directory.

      Basically Jav should set the right path itself (and did so in earlier versions), but for the moment

      (and sorry for replying to another post, the reply button is a bit misleading)


    • I have the 64-bit version and could not run Landserf 2.3 which is written for 32 bit. The javaw.exe existed in C:\Windows\SysWOW64 folder but not in C:\Windows\System32 folder.
      I copy and pasted it and the problem was solved.

      So, thank you Mark B.


    • Mark B – many thanks sorted it out for me

  • Reply

    thanks a lot!! finally i can use that!

  • Reply

    Vou falar em português mesmo…
    Estava com o mesmo problema, uso o Windows 7 e trabalho em um órgão público, onde não posso instalar/atualizar nenhum programa.
    Solucionei o problema de maneira muito muito simples: coloquei ele em Modo de Compatibilidade com o Windows 98.
    Está funcionando perfeitamente.

  • Reply

    I had this problem with BNJ3 (Bayesian Network tools in Java) on a Windows 7 system. Browsed for the file and found it in C:\Program Files (x86)\Java\jre7\bin\.

    Once selected, BNJ3 runs like a charm.

  • Reply

    The reason I liked PDFSam is because it is simple and small. Now, if you need to install hava in order to run it, PDFsam makes no longer sense. What other alternatives or solutions are avaliable?


    • PDFSam has been written in Java since the beginning, it requires a JVM installed and it can run on every OS where Java is available. I think there are plenty of alternatives, commercial and not, out there.

  • Reply

    *java

  • Reply

    Mark B (post #54) gave a good and easy solution. Now mine is working. Thanks!

  • Reply

    @Mark B, your solution is really easier to get rid of the error. Thank you buddy!

  • Reply

    Mark B.

    Thanks so very much, Mark! I’m new to Windows 8, and I had to paste the file in the (previously) empty system folder, but it works now. Thank you! :-)

    -Melaine

  • Reply

    Thanks Mark, your fix worked for me too!

  • Reply

    Not working for me eclipse says the same problem
    i copyed all jre folder in eclipse intallation folder now it says failed to load JNI shared library please help

  • Reply

    Thanks designed for sharing such a nice thought, post is fastidious,
    thats why i have read it fully

1 2

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

http://alicefilm.com/ - http://alittleboysblog.net/ - http://brasssolutions.com/ - http://brunodunker.com/ - http://aoload.com/ - http://benidilusso.com/