How to run a Java program?

December 20, 2007

If what you have after transforming .java file to byte-code is an only one .class file do this:

Suppose you have program.java file.
Create a new file - program.txt in the same catalog, type”java program.class” into it.
Rename it to program.bat
Run it. Should do the trick.

Entry Filed under: java. Tags: .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

December 2007
M T W T F S S
    Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Most Recent Posts