View Single Post
  #1 (permalink)  
Old 08-06-2007, 07:58 PM
coco coco is offline
Member
 
Join Date: Jul 2007
Posts: 39
coco is on a distinguished road
Problems with compile applet
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:
Code:
error: Can't read: HelloWorldApp.java 1 error
Here's the command I'm typing in DOS:
Code:
C:\>jdk1.1.8\bin\javac HelloWorldApp.java I put the HelloWorldApp.java file in the bin directory too. Can anyone help me
Code:
public class HelloWorldApp { public static void main(String[] args) { // Display "Hello World!" System.out.println("Hello World!"); } }
Thanks.
Reply With Quote
Sponsored Links