0

Do java packages need a IDE

I tried to create a package but it's giving errors! Sololearn said to make a package with something that does not look possible in the Sololearn console! Is my code wrong or am I coding in the wrong place? https://sololearn.com/compiler-playground/caCrNL02egzJ/?ref=app

30th Jul 2025, 10:34 AM
Pou10mine
Pou10mine - avatar
4 Respostas
+ 2
Sololearn is not an IDE.
30th Jul 2025, 11:37 AM
Bob_Li
Bob_Li - avatar
+ 1
But does it need an IDE? I know it's not but does package creation need it?
30th Jul 2025, 2:01 PM
Pou10mine
Pou10mine - avatar
+ 1
Sololearn is a “web IDE” but it does not support your own Java packages. You are trying to import a class of the sample package, inside sample package itself, which is not necessary. And pou is not public.
30th Jul 2025, 3:34 PM
zemiak
0
Pou10mine you need to have the java development kit installed in your computer. You don't strictly need an ide, a simple text editor will be enough, but an ide will probably give you better tools and workflow management.
30th Jul 2025, 3:46 PM
Bob_Li
Bob_Li - avatar