-
June 12th, 2013, 03:52 AM
#1
First Java Program does not work!
Hi,
I am new to Java. I use NetBeans 7.1 IDE on Windows Vista. I try my first Hello World Program:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
/**
*
* @author Bilal Gharib
*/
public class JavaApplication1 {
/**on
* @param args the command line arguments
*/
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
When I run the program, nothing happens!
I also tried to build the jar file; although it was built successfully, yet when I try to run it, again nothing happens.
I am completely new to Java.
Thanks to any help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|