Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to compile Java
02-13-2012, 10:03 PM
Post: #3
RE: How to compile Java
Before the Java virtual machine (VM) can run a Java program, the program's Java source code must be compiled into byte-code using the javac compiler. Java byte-code is a platform independent version of machine code; the target machine is the Java VM rather than the underlying architecture. To compile a Java source code file Foo.java, you would do the following:

% javac -g Foo.java

The -g command line option is optional, but we recommend using it as it makes debugging easier.

Hair Transplant Pakistan
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to compile Java - therapy - 02-10-2012, 05:54 PM
RE: How to compile Java - hairtransplant - 02-13-2012 10:03 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)