I have an error in my first step with Java, so when i try to run the code hello world:
class apples{
public static void main(String args[]){
System.out.println("Hello World!");
}
}
I go to: – Run as .. -> Then i choose Java aplicacion – > And i press Ok
But when i press Ok does not appear the window down to show me the correct message Hello World
Your code works fine for me:
I downloaded it to c:\temp\apples.java.
Here’s how I compiled and ran it:
Your lack of understanding and the IDE appear to be impeding your progress. Do simple things without the IDE for a while until you get the hang of it. A command shell and a text editor will be sufficient.
Sorry about missing javac; cut & paste error.