Thread: Edit Compiler Code

Results 1 to 6 of 6
  1. #1 Edit Compiler Code 
    Registered Member
    Join Date
    Jun 2010
    Posts
    55
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    I want my compiler to get all the .java files in the folder the compiler is currently in (server name = ummhax), and put the .class files that were compiled in the bin folder located at.. (ummhax/bin)

    I want it to be basically the same code as it already is, just the destination changed..

    @echo off
    COLOR 02
    title Compiler
    "C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -cp .bin/ *.java
    pause
    @exit
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2010
    Posts
    271
    Thanks given
    2
    Thanks received
    3
    Rep Power
    11
    replace
    "C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -cp .bin/ *.java
    to
    "C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -cp .bin/ ./ummhax/bin/*.java
    i fink lol
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2010
    Posts
    271
    Thanks given
    2
    Thanks received
    3
    Rep Power
    11
    rep me if works please
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2010
    Posts
    55
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    javac: file not found: .bin\*.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Press any key to continue . . .

    I get that
    Reply With Quote  
     

  5. #5  
    Registered Member Mayday Parade's Avatar
    Join Date
    Apr 2009
    Age
    27
    Posts
    495
    Thanks given
    20
    Thanks received
    17
    Rep Power
    8
    Because you don't have any .java files in there. That's why. I took away all my .java files and then compiled and got the same error.

    Spoiler for LoL:
    Quote Originally Posted by Imbued View Post
    Quote Originally Posted by pasta186 View Post
    That tutorial doesnt walk.
    That's because it got no legs..
    Best report I've sent? "Mass spam? Also in wrong sexual"
    LOL
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2010
    Posts
    55
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by king gauge View Post
    Because you don't have any .java files in there. That's why. I took away all my .java files and then compiled and got the same error.
    I don't want it to compile my bin folder, I want my bin folder to be the output of my compiler... So it compiles my .java files in my server and puts them in my bin folder of the server.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •