java.lang.ClassNotFoundException
I started getting this error regardless of what file i compiled, after a bit of research i managed to narrow down the issue to something wrong with my classpath in sistem variables, but hadn't had any luck fixing it
13 Replies
⌛
This post has been reserved for your question.
Hey @asdru! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
acan you please show the complete stack trace as well as the relevant code?
Did you compile your application?
im not sure what u mean by stack trace
in this case, there is no stack trace
yeah altho its not an app, or a package
it happens with any java file
How did you compile it?
where are your compiled class files?
both using the java extension on vsc and via terminal using javac
what's the output of the command
dir
?ok im not sure what happened
but i compiled and executed in 2 different commands and it seems to be working
compiling via terminal seems to be working
ig there is an issue with the vsc extensions
oh well
thanks anyway
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Post Closed
This post has been closed by <@372715536121069578>.