Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck at Step 3 of Install #464

Open
Jonny-no-h opened this issue Sep 2, 2022 · 1 comment
Open

Stuck at Step 3 of Install #464

Jonny-no-h opened this issue Sep 2, 2022 · 1 comment

Comments

@Jonny-no-h
Copy link

Getting the following message from my Command Prompt:

'java' is not recognized as an internal or external command,
operable program or batch file.

Downloaded and installed Java, still getting error message.

I'm not particularly skilled or experienced outside of basic office applications. Just trying to help my son get started with learning JS in Minecraft. If at all possible, would love an even more simplified set of instructions.

@atomisadev
Copy link

Java isn't added to your system path. I'm assuming you're either using Windows 11 or Windows 10 (because of the error message, which only occurs on Windows).

Note: You can just reinstall Java (instead of doing the following method) but check the box that says "Add to PATH"

I personally have never used ScriptCraft, but this issue is simple Java.

  1. Find where you installed Java
  2. Locate the bin/ directory inside your installation location
  3. Search "Environment Variables" on Windows settings, you should find "Edit the system environment variables"
  4. Under the "System Variables" section, create a new system variable
  5. You can name it anything you'd like
  6. Under the value for the system variable, enter the path to your bin/ directory found inside your Java installation

Instead of doing this process manually, you could have just enabled "Add Java to PATH" on the installer screen for Java. If you'd like, you can just reinstall Java but make sure to select that option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants