How to Compile java files in windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bashanmu
    New Member
    • Sep 2006
    • 8

    #1

    How to Compile java files in windows

    hai,
    i have lot of java files, but i need to compile in windows. there is file "build.bat" , which will start executing all files. but i need a way to compile these java files using bat file.

    Thanks..
    Babu Shanmugham
  • sivadhas2006
    New Member
    • Nov 2006
    • 142

    #2
    Hi,

    If all java files are in the single folder, you can use javac *.java to compile all the java files.

    If java files are in the many folders like package, we want to handle it differently.

    Regards,
    M.Sivadhas.

    Comment

    • bashanmu
      New Member
      • Sep 2006
      • 8

      #3
      Originally posted by sivadhas2006
      Hi,

      If all java files are in the single folder, you can use javac *.java to compile all the java files.

      If java files are in the many folders like package, we want to handle it differently.

      Regards,
      M.Sivadhas.
      java files in different folder..thats y i need a solution

      Comment

      • roshancaptain1
        New Member
        • Oct 2006
        • 14

        #4
        if ur files are there in a single forlder then you can use javac *.java

        Comment

        Working...