+ 1
How do you run a java code?
Hello! I use Sublime Text as a code editor and I was trying to code with java, but I came across a problem: how do you run a program that, for example, opens a window?
8 Respuestas
+ 4
JDK and command line or ide
+ 3
use eclipse 😆
+ 3
After you have the JDK installed, on the command line, write java followed by the filename without the .class extension resulting from the compilation.
+ 2
I'll definitely try it, but just for curiosity, isn't there another way?
+ 2
Thanks!!
+ 2
That is after I download JDK right?
+ 2
Here's a step by step guide on how to install JDK, IDE, run the code and other stuff (just scroll down) :
https://www.programiz.com/java-programming
0
Thanks to all of you!!