Java Run vs Console command

Bug description:
Beginner here!
I’m following a lesson that utilizes replit that says to type the command in the console to run and not to push the “Run” button. I’ve found there is no option to type, but there’s a “Run” button in console. Any time I press it, however, it just prints the “Hello, world!” from the first example, even if I “delete” that file.

Expected vs Current Behavior:
Option to execute file in console via text input instead of “Run” button.

Steps to reproduce:
Attempt to type in console…?

Bug appears at this link:

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile:

:wave: Welcome @theinfinitemuse!

This feature already exists. Simply use the Shell instead of the Console.

1 Like

I’m a beginner. I’m following literal step-by-step directions, and I tried to type the command I was told I should type into the console into Shell, and it errors. I assume there’s a basic knowledge assumed of how to enter such a command into Shell, but I don’t have that knowledge. I think I should drop the course before I get too deep and find another intro to java (likely a free online solution).

1 Like

Ok, I figured this out. I just wasn’t typing in the full location for the file, I was just typing “java” and left out the preceding files that “Example” was located in. Silly beginner. Still likely to drop that class. No telling what other errors I’m bound to discover if they haven’t updated something as basic as this.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.