Jave requirements

OK, so I am not as much of a geek as I was previously told. I need to add the Java components to my MAC mini (running Mojave 10.14.2) . I see all kinds of notes in your Installation section that tell me nothing. I got the package from Oracle, but nothing in Base works, and I need it to work. I hope you can provide some direction! Thanks a bunch.

Tom