User:Hasanmurat.wiki

Steps to Run a Java Program
1. Install JDK (google for the download link)

2. Add JDK's /bin directory to your %PATH% (google for that too)

3. Write a Java Program (here is a simple one: class Hello { public static void main(String args[]) { System.out.println("hello, world!"); } }

4. Save it as Hello.java

5. Type javac Hello.java (This compiles and creates the Bytecode)

6. Type java Hello (This executes the Bytecode in the VM)

eclipse shortcut
1. Ctrl + Shift + t = find class

Ubuntu important command line
1. sudo sh shutdown.sh = restart tomcat server

2. sudo /etc/init.d/networking restart = restart server