Skip to content
Sign UpLog In
Profile icon

SHANE KASNER

@SHANEKASNER
Repls
Community
SHANEKASNER
SHANEKASNER
shared a Post
2 years ago
How do I fix "exit compiler status 1" error?
Screenshot 2020-08-24 at 1.03.26 PM Screenshot 2020-08-24 at 1.03.08 PM
Unit1_Topic1.3_Labs
Java
Coder100
Coder100
Your class is named wrong. It has to be called Main because that's what the file name is called.2 years ago
DynamicSquid
DynamicSquid
also for your "bruh" file, you might wanna add the java extension to it: "bruh.java"2 years ago
SHANEKASNER
SHANEKASNER
shared a Post
2 years ago
Screenshot 2020-08-24 at 11.10.26 AM Screenshot 2020-08-24 at 11.10.38 AM
Unit1_Topic1.3_Labs
Java
PattanAhmed
PattanAhmed
@SHANEKASNER Hi, It seems like your code that you have written should be transferred to file name called Main.java Try! Thanks! Hope this helps2 years ago
Coder100
Coder100
Hello, two ways: Copy all your code into Main.java Configure the run button: Create a .replit file: run="sh main.sh" Create a main.sh file: javac ExpressionsWithLiterals.java RectangleArea.java java ExpressionsWithLiterals `2 years ago
CodeLongAndPros
CodeLongAndPros
Your code needs to be in Main.java 2 years ago