For some reason, in my IDE/project, my CPU and RAM are at full capacity

My Java project isn’t running, all it is doing is saying Hello World

I expect it to say “hello, I am Mr Bit. What is your name?” and after I type my name, it will say, “Nice to know you, [Name], What can I help you with?” and then act as a calculator, but instead it just says “Hello World” like a doof


My device is a MacBook

Replit Profile:

Hey @LagIsHere23, welcome to the forums!

Just click the next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to whatever file you want to run.



Show hidden files


You should also see the docs on how to configure a Repl:

Alternatively, you can enter java in the Shell to run that file in the shell.
Hope this helps!

For your high CPU and RAM usage, the RAM/CPU counters can be fairly inaccurate and you shouldn’t face any problems regarding the speed of your Repl. These counters also take into account code intelligence and background processes, which vary from language to language. If you are running out of RAM/CPU power, you could choose to upgrade your current plan or boost your Repl.

1 Like

That doesn’t really work for java, since you have to modify the compile part too.

1 Like

Ok, but the second part works. I have tested it.

The CPU/RAM isn’t really related by the way. It only would be if you got some kind of overflow error (I know that’s not what kind of error it is, but it’s something like that.)