I'm wanting to have a go at java. I've been trying to get the SDK from the java sun site, but every time I finally download it, it gives me an error, about it being corrupt. So, can I use any other java programs that does the same as this SDK program? As you can see, I don't know what it does, I just read that I need it to compile applets.
Hi, I got the jdk1.1.8 but every time I'm trying to compile it, it's saying:
error: Can't read: HelloWorldApp.java
1 error
Here's the command I'm typing in DOS:
C:\>jdk1.1.8\bin\javac HelloWorldApp.java
I put the HelloWorldApp.java file in the bin directory too. Can anyone help me
public class HelloWorldApp {
public static void main(String[] args) {
// Display "Hello World!"
System.out.println("Hello World!");
}
}
Thanks.