ID: 87475b Feb. 12, 2018, 6:30 p.m. No.4469   🗄️.is 🔗kun   >>4470 >>4471

>>4455

All you have to do to run Java from a text file is save it in <classname>.java

 

And open a terminal there

Then type javac <classname>.java

Then java <classname>

 

And the code inside the main method will run

ID: 87475b Feb. 12, 2018, 6:33 p.m. No.4470   🗄️.is 🔗kun   >>4471 >>4543

>>4469

You also need the JDK. You'll know whether or not you have the JDK if "javac" is a command.

 

For example to run a class named Applejack you would do

 

javac Applejack.java

java Applejack

ID: 87475b Feb. 20, 2018, 12:36 a.m. No.4807   🗄️.is 🔗kun   >>4816

>>4787

In Visual Basic? You mean visual studio? And in what language?

 

https://csis.pace.edu/~bergin/KarelJava2ed/ch2/javamain.html

 

This is a good explanation, you don't have to do any of the Robot stuff