Thread: [REQ} Compiler dont work [REQ]

Results 1 to 3 of 3
  1. #1 [REQ} Compiler dont work [REQ] 
    Registered Member phat josh's Avatar
    Join Date
    Feb 2009
    Posts
    129
    Thanks given
    1
    Thanks received
    0
    Rep Power
    48
    My compiler dont work can someone help me.
    it says,
    Javac: file not found: *.java
    Usage: java <options> <source files>
    use -help for a list of possible options ( dont work :/)
    press any key to continue.
    if any1 had this problem and know how to fix plz post it here i will be greatly thankfull.
    Last edited by phat josh; 02-02-2009 at 11:10 PM. Reason: Double posting is not allowed!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Apower's Avatar
    Join Date
    Sep 2008
    Age
    27
    Posts
    824
    Thanks given
    7
    Thanks received
    15
    Rep Power
    94
    right click - edit then delete everything there and add this:

    @echo off
    title Scarecrows' compiler
    echo Scanning for your version of JDK...
    if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\")
    else (goto nojava)
    :compile
    echo JDK found, beginning to Compile...
    for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
    if defined p (%p% -cp . *.java)
    if defined p (goto done)
    :nojava
    echo You do not have Java installed. Please download it at [Only registered and activated users can see links. ].
    :done
    echo Finished.
    pause
    exit
    Reply With Quote  
     

  3. #3  
    Registered Member phat josh's Avatar
    Join Date
    Feb 2009
    Posts
    129
    Thanks given
    1
    Thanks received
    0
    Rep Power
    48
    know it says,
    scanning for your version of jdk....
    JDK found, beginning to compile....
    Javac: file not found: *.java
    Usage: Javac <options> <source> <source files>
    use -help for a list of possible options
    Finished.
    press any key to continue
    what i do know?
    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
  •