#Java Unresolved compilation problem

1 messages ยท Page 1 of 1 (latest)

past heathBOT
#

<@&987246399047479336> please have a look, thanks.

oblique wraith
#

Sum uh....what is in test.java at line 4?

tacit swan
#

post your java file please

stone stag
#

@tacit swan @oblique wraith

tacit swan
#

I'm not too sure, it could be because you're trying to do this in the onedrive folder

stone stag
#

True

tacit swan
#

just try in documents

stone stag
#

I'll try

oblique wraith
#

I suspect the space in that folder name might be a problem

tacit swan
#

i dislike compiling via the command line, java ides will handle that for you

stone stag
#

@tacit swan @oblique wraith

frigid trench
# stone stag

the name of the file must match the name of the class

stone stag
#

Still does not like the java public static void main(String[] args) {

frigid trench
#

if your class name is Main

#

the file name must be Main.java

#

@stone stag

stone stag
#

@frigid trench W

tacit swan
#

๐Ÿ’€ there we go

frigid trench
#

also please use intellij

tacit swan
#

@stone stag i HIGHLY recommend using any java ide

#

vscode didnt tell you this issue

frigid trench
frigid trench
stone stag
#

fr

tacit swan
stone stag
#

Ill close t his soon