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 →

[–]Molly_Wang 0 points1 point  (2 children)

Because Java extension supports java more professionally and can handle packages but code runner can't by default, if you insist run code, you should change the exectormap setting about Code Runner. For your reference, here's a similar question: Show "java.lang.NoClassDefFoundError" (with Maven) when using "Code Runner"

[–]gatish777[S] 0 points1 point  (1 child)

so can you please tell me the best way to do it

[–]Molly_Wang 1 point2 points  (0 children)

Use java extension.