0

Help

I am not able to msg anyone I am following,😭😭😭. Can anyone give me advice. I have installed visual studio code in my laptop and I am not able to execute my java code . What do I have to install and how to do my java setup in vs code. Help would be appreciated

7th Apr 2025, 11:19 AM
Nilakshi
5 Respostas
+ 5
You've only joined 9 days ago, you need to keep learning to earn the privilege 😅 to message. Have you looked up how to run java with vs code? I'm sure there are lots of guides. https://www.sololearn.com/discuss/2863961/?ref=app https://www.sololearn.com/discuss/322976/?ref=app https://www.sololearn.com/discuss/2329205/?ref=app https://sololearn.com/compiler-playground/W0uW3Wks8UBk/?ref=app
7th Apr 2025, 3:06 PM
Ausgrindtube
Ausgrindtube - avatar
+ 4
You need to wait 21 days đŸ„Č so just keep learning until you can use it Btw about executing java code in Vs code, since you're a beginner, I think you can try eclipse (free) or Intellij (community version, it's free) it doesn't require setup to run java But if you want to use Vs code to execute java code, try installing jdk 17 (trusted source), but don't install the newest version, because java have removed the classic "public static void main string args" in newer version, but it's your choice
7th Apr 2025, 6:12 PM
☕AstroParrot✩
☕AstroParrot✩ - avatar
+ 2
omitting 'public static' and 'String[] args' from main() is optional and it is still just a preview feature (java 21-24)
7th Apr 2025, 9:03 PM
zemiak
+ 2
Thankyou
8th Apr 2025, 2:50 AM
Nilakshi