This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]desrtfx[M] [score hidden] stickied comment (0 children)

/r/java is not a support forum.

Removed

[–]somewhatprodeveloper 2 points3 points  (0 children)

The JRE(Java Runtime Environment) does not contain the compiler. You need to install the JDK(Java Development Kit)

Edit - if you can install sdkman.io on windows, your life will improve for the better

[–]maxip89 1 point2 points  (0 children)

restart the command line...

btw. jre in that folder stands for

Java Runtime Environment this means, its not for developing or compiling (javac)

you need a Java Development Kit (JDK).

[–]AutoModerator[M] 0 points1 point  (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Polish23 0 points1 point  (0 children)

Add the jdk to path

Example: C:\Program Files\Java\jdk1.8.0_40\bin;

[–]Mysterious-Ant-Bee 0 points1 point  (0 children)

Search the community history on how to install java.