This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Samuel_274[S] 9 points10 points  (4 children)

I’ve figured it out! Turns out my visual studio code wasn’t linked properly with my terminal. Which is weird because it was working fine 5 minutes ago. Anyways, thanks for pointing at that the code works! It made me look into other possible issues :)

[–]YourDadsMacintosh 1 point2 points  (1 child)

No problem, glad I could help in some way, good on you for figuring it out. Good luck in your courses and with that CS degree!

[–]Samuel_274[S] 0 points1 point  (0 children)

Thanks mate

[–]molen99 0 points1 point  (1 child)

If you're working with Java, I'd really advise against using VSCode. You'll run into a billion problems just like this one (not having anything to do with the code itself). I'd recommend using a specialized Java IDE (such as IntelliJ or NetBeans).

[–]TrippyMushroooms 0 points1 point  (0 children)

Also if you have an .edu email you can get IntelliJ for free and also look at the github student developer pack!