Skip to content

Unable to find Java on Windows #260

@mulderp

Description

@mulderp

Hi,

I installed Java 1.7 via the Netbeans IDE.

Now, when I run: node findJavaHome.js, I get:

Error: Command failed: C:\windows\system32\cmd.exe /s /c "reg query "hklm\s
re\wow6432node\javasoft\java development kit""
ERROR: The system was unable to find the specified registry key or value.

I tried to edit registry manually by adding "Java Development Kit", and "1.7" as key, but so far the error remains.

Any ideas what to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions