Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

compiling and getting of a java program

Thu Mar 18, 2010 11:56 am

i have written some java programs in java but iam unable to compile and get the output of it.so please help me



Re: compiling and getting of a java program

Thu Mar 18, 2010 9:59 pm

To compile your java code you need to use java compiler javac.exe

Code:
javac source.java


This will generate source.class file in same path of the file . ( .class is a byte format file ) .

To run your code :
Code:
java source


Post a reply
  Related Posts  to : compiling and getting of a java program
 i got cannot find symbol error while compiling my program     -  
 java program     -  
 java program     -  
 Executing a Java Program     -  
 Elements of a Java Program     -  
 java chat program.     -  
 email through JAVA program     -  
 Java Program for communicate PC and Mobile     -  
 Need Java program for display the CPU usage     -  
 Java Chat Program between two computers     -