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

Justin
Champion
Posts: 1699
Joined: Wed Apr 10, 2013 9:45 pm

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

Post by Justin » Wed Apr 10, 2013 10:13 pm

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.
Last edited by Justin on Fri Sep 11, 2015 1:16 am, edited 3 times in total.

User avatar
Maurits
Honor Player
Posts: 8807
Joined: Mon Apr 01, 2013 3:21 pm
Location: Retirement Home

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

Post by Maurits » Wed Apr 10, 2013 10:16 pm

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?
Image

Justin
Champion
Posts: 1699
Joined: Wed Apr 10, 2013 9:45 pm

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

Post by Justin » Wed Apr 10, 2013 10:29 pm

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.

User avatar
Azu rite
Premium Donator
Posts: 17600
Joined: Wed Apr 10, 2013 1:42 am
Location: Over there in that one place

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

Post by Azu rite » Thu Apr 11, 2013 4:06 pm

Very helpful thank you
Image

User avatar
Bathroom
Premium Donator
Posts: 25
Joined: Sat May 25, 2013 6:50 pm
Location: Grass Valley, CA

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

Post by Bathroom » Mon May 27, 2013 3:28 am

Thanks worked really well!
Rip Lieven

User avatar
Megumin
Honor Player
Posts: 2675
Joined: Sat Jun 01, 2013 9:29 pm

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

Post by Megumin » Thu Jul 04, 2013 7:45 pm

Thanks so much! So helpful! :mrgreen:
Image

User avatar
Chakravartin
Wise One
Posts: 683
Joined: Wed Apr 10, 2013 4:46 am

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

Post by Chakravartin » Mon Jul 08, 2013 6:48 am

Nice guide, but what about the people who are unable to find that path in the system variables?
Dream Raise...

The pkhonor mod hunter master, that's my title and I love it.

User avatar
Andres
Developer
Posts: 4846
Joined: Fri Apr 12, 2013 6:23 pm
Location: Belgium

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

Post by Andres » Mon Jul 08, 2013 9:24 am

i had this problem for many years never been able to fix it until i joined PkH haha
Thank god :P
Image

Justin
Champion
Posts: 1699
Joined: Wed Apr 10, 2013 9:45 pm

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

Post by Justin » Mon Jul 08, 2013 6:42 pm

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?

User avatar
Chakravartin
Wise One
Posts: 683
Joined: Wed Apr 10, 2013 4:46 am

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

Post by Chakravartin » Tue Jul 16, 2013 7:57 pm

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
Dream Raise...

The pkhonor mod hunter master, that's my title and I love it.

Post Reply