ScriptCraft

ScriptCraft

14.6k Downloads

Stuck at Step 3 of Install

Jonny-no-h opened this issue ยท 1 comments

commented

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.

commented

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.