#'Java' is not recognised outside jdk/bin

1 messages ยท Page 1 of 1 (latest)

limber seal
granite shadowBOT
#

<@&987246399047479336> please have a look, thanks.

granite shadowBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#

This issue occurs when the Java executable is not added to the system's PATH variable. To fix this, follow these steps:

  1. Open the Control Panel on your computer.
  2. Go to System and Security.
  3. Click on System.
  4. Click on Advanced system settings.
  5. In the System Properties window, click on the "Environment Variables" button.
  6. In the "System variables" section, find the "Path" variable and click on "Edit".
  7. Add a new entry by clicking on "New" and enter the path to your JDK's bin directory (e.g., C:\Program Files\Java\jdk1.x.x_xx\bin).
  8. Click OK to save the changes.

After adding the JDK's bin directory to the PATH variable, you should be able to run Java commands from any location in your command prompt or terminal window.

jovial coral
limber seal
#

restarted cmd and pc

#

this is not my personal pc, I wonder if my issue is related to permissions - admin access

jovial coral
jovial coral
jovial coral
green sail
#

Or even with that, maybe try setting path for user env then

solemn maple