Thread: Compiling/Packaged Source

Results 1 to 6 of 6
  1. #1 Compiling/Packaged Source 
    Xx Vahe xX
    Guest
    I have a packaged 508 Source (DefaultPk)
    When I try and compile I get this error:
    Code:
    javac: file not found: .\src\*.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Press any key to continue . . .

    My folder is setup like this;

    DefaultPk (bin/build/Lists/src)

    bin> (Has Compiler & Runserver)
    build > (data/net/build)
    Lists > (has notepads of info)
    src > (Net > com > codeusa (All the server files)


    I need help to compile the whole DefaultPk folder.

    Heres my compiling code;

    Code:
    @echo off
    "C:\Program Files\Java\jdk1.6.0_13\bin\javac.exe" -cp ./bin/ ./src/*.java
    pause
    Please help
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jul 2007
    Posts
    268
    Thanks given
    0
    Thanks received
    1
    Rep Power
    101
    ./bin/ ./src/*.java has to fit to yours.
    Reply With Quote  
     

  3. #3  
    Xx Vahe xX
    Guest
    Quote Originally Posted by godzilla View Post
    ./bin/ ./src/*.java has to fit to yours.
    Wat do you mean?

    What Do i need to fix in my compiler code?>
    Reply With Quote  
     

  4. #4  
    Xx Vahe xX
    Guest
    :/
    Sorry, Im not good with java
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2010
    Posts
    590
    Thanks given
    15
    Thanks received
    6
    Rep Power
    3
    My compile fucked up either i tried do anything, changed jdk's, got new codes, but nothing work, but it might help you, try replace your currently compile in this:

    Code:
    @echo off
    title compile
    cd ../src
    echo Compiling net/com/codeusa/Engine.java
    "C:\Program Files\Java\jdk1.6.0_14\bin\javac.exe" -cp . -d ../build/ ./net/com/codeusa/Engine.java
    pause
    Ofc change your jdk to the the number of jdk that you got.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Teemuzz's Avatar
    Join Date
    Oct 2009
    Posts
    2,755
    Thanks given
    1,212
    Thanks received
    422
    Rep Power
    934
    and the path to your source's path
    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
  •