0

Anyone know what's the reason why i can run my java code from command prompt but i couldnt run it on my IDE like Netbeans?

Java code running issue

9th Jan 2022, 11:45 AM
Jacky
5 ответов
+ 2
Can you share us your code? Do you have troubles only with this code or all codes?
9th Jan 2022, 11:59 AM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Any error messages?
9th Jan 2022, 1:45 PM
Dennis Torhov
Dennis Torhov - avatar
+ 1
I am using eclipse but I think it is similiar. You need to create a Java Project and each class needs a class file. I suggest you to search on youtube how to get started with NetBeans.
9th Jan 2022, 3:04 PM
Denise Roßberg
Denise Roßberg - avatar
0
Is it because it is a random file (like not from the project) thats why it cant run in netbeans?
9th Jan 2022, 2:15 PM
Jacky
0
Or in order to run the code in Netbeans, must create a project and then create a file within it then can run??
9th Jan 2022, 2:16 PM
Jacky