Page 1 of 4

[Windows7]How to fix "Could not find Javaw"

Posted: Wed Apr 10, 2013 10:13 pm
by Justin
First you need to locate Javaw.exe, in order to do that, go to your C: drive and look for the folder(s) "Program files" and/or "Program files (x86)", within either of these folders, there should be a folder called "Java", open the folder "Java", in that folder, there should be another folder called "Jre7", open that folder, next open the folder "Bin", look inside this folder and try to find "Javaw".
You have now successfully located "Javaw.exe", you don't need to click it, just make sure it's there, if not, let me know.
Go back to the folder, in which you found the folder "Java" and all you need to do, is remember that folder's location.


Now, open the windows menu (You can do this by pressing the windows icon, in the left bottom corner of your screen).
Next you will right click "Computer" and press properties, this should bring you to this menu,
Image
On that same menu, then press "Advanced system settings", this should pop-up:
Image
Press "Environment variables" this should pop-up:
Image
Now, look for path in "system variables" as highlighted in blue in the above pictures and press edit,
Now depending on the directory you found the Java folder in,
You will either have to add (If the "Java" folder was located in "Program Files", use this one)

Code: Select all

;C:\Program Files\Java\jre7\bin
Or (If the "Java" folder was located in "Program Files (x86)", use this one)

Code: Select all

;C:\Program Files (x86)\Java\jre7\bin
to the end of your "Path" including the ";"

Now press "Ok", "Ok" again, then press "Apply", now try to run Pkhonor again.

I'm hoping this resolved your issue, let me know if it did or if it didn't.

If you do not have Jre7, but instead have Jre6 just replace Jre6 with Jre7.

Kind regards.

Re: [Windows]How to fix "Could not find Javaw"

Posted: Wed Apr 10, 2013 10:16 pm
by Maurits
I've had the JavaW error on my laptop, I got it fixed by installing 64bit java instead of 32bit.

Is that a solution too, or did I just get lucky?

Re: [Windows]How to fix "Could not find Javaw"

Posted: Wed Apr 10, 2013 10:29 pm
by Justin
Maurits wrote:I've had the JavaW error on my laptop, I got it fixed by installing 64bit java instead of 32bit.

Is that a solution too, or did I just get lucky?
Well, the 64Bit Java folder will usually be located in ";C:\Program Files (x86)\" and the normal 32Bit version in ";C:\Program Files\", I'm assuming ";C:\Program Files (x86)\Java\jre7\bin" was already defined in your path, and ";C:\Program Files\Java\jre7\bin" just wasn't.
In a way you did get lucky, because the 64Bit location was defined, but that isn't necessarily always the case.

Re: [Windows]How to fix "Could not find Javaw"

Posted: Thu Apr 11, 2013 4:06 pm
by Azu rite
Very helpful thank you

Re: [Windows]How to fix "Could not find Javaw"

Posted: Mon May 27, 2013 3:28 am
by Bathroom
Thanks worked really well!

Re: [Windows]How to fix "Could not find Javaw"

Posted: Thu Jul 04, 2013 7:45 pm
by Megumin
Thanks so much! So helpful! :mrgreen:

Re: [Windows]How to fix "Could not find Javaw"

Posted: Mon Jul 08, 2013 6:48 am
by Chakravartin
Nice guide, but what about the people who are unable to find that path in the system variables?

Re: [Windows]How to fix "Could not find Javaw"

Posted: Mon Jul 08, 2013 9:24 am
by Andres
i had this problem for many years never been able to fix it until i joined PkH haha
Thank god :P

Re: [Windows]How to fix "Could not find Javaw"

Posted: Mon Jul 08, 2013 6:42 pm
by Justin
Chakravartin wrote:Nice guide, but what about the people who are unable to find that path in the system variables?
What do you mean?..
How can one not have a Path in System Variables?

Re: [Windows]How to fix "Could not find Javaw"

Posted: Tue Jul 16, 2013 7:57 pm
by Chakravartin
Justin wrote:
Chakravartin wrote:Nice guide, but what about the people who are unable to find that path in the system variables?
What do you mean?..
How can one not have a Path in System Variables?
Image