Dave's Brain

Browse - Programming Tips - What are the basic Java commands?

Date: 2012aug26
Language: Java
Level: beginner

Q.  What are the basic Java commands?

A.

javac Hello.java - compile source .java into .class file
java Hello.class - run .class file
jar cf Hello.jar . - compile things into a jar file

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.