Thread: it dont compile.

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 it dont compile. 
    Registered Member
    Join Date
    May 2009
    Posts
    741
    Thanks given
    6
    Thanks received
    22
    Rep Power
    30
    when i press compiler i get this.
    Code:
    The system cannot find the path specified.
    Press any key to continue . . .
    how do i fix.
    Thanks
    Reply With Quote  
     

  2. #2  
    Project Dark
    Guest
    change the path to your java version..?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2009
    Posts
    741
    Thanks given
    6
    Thanks received
    22
    Rep Power
    30
    done that, still dont work,
    Reply With Quote  
     

  4. #4  
    heavenshallburn
    Guest
    Be sure everything is right, like if you have x86 you change your progam files to _(x86) (_= )

    And check your JDK version maybe your wrong
    Reply With Quote  
     

  5. #5  
    Mops the streets
    Streetwave's Avatar
    Join Date
    Mar 2009
    Age
    29
    Posts
    3,445
    Thanks given
    481
    Thanks received
    1,114
    Rep Power
    5000
    Copy and paste your batch file over here in code tags.

    Spoiler for Love:







    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    May 2009
    Posts
    741
    Thanks given
    6
    Thanks received
    22
    Rep Power
    30
    Code:
    @echo off
    title Compiler
    "C:\Programmer\Java\jdk1.6.0_18\bin\javac.exe" -cp . *.java
    pause
    Reply With Quote  
     

  7. #7  
    Mops the streets
    Streetwave's Avatar
    Join Date
    Mar 2009
    Age
    29
    Posts
    3,445
    Thanks given
    481
    Thanks received
    1,114
    Rep Power
    5000
    Get rid of that dot after -cp. Otherwise, download a server and get compiler of it.

    Spoiler for Love:







    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    May 2009
    Posts
    741
    Thanks given
    6
    Thanks received
    22
    Rep Power
    30
    i now got
    Code:
    @echo off
    title Compiler
    "C:\Programmer\Java\jdk1.6.0_18\bin\javac.exe" -cp  *.java
    pause
    should i get another compiler?
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jan 2009
    Age
    34
    Posts
    3,143
    Thanks given
    27
    Thanks received
    92
    Rep Power
    0
    You fail.

    Code:
    @echo off
    title Compiler
    "C:\Program Files\Java\jdk1.6.0_18\bin\javac.exe" -cp  *.java
    pause
    Add in (x86), if you're using Vista. If you really can't fix something like this, you need to just quit.
    Reply With Quote  
     

  10. #10  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    31
    Posts
    2,012
    Thanks given
    818
    Thanks received
    1,361
    Rep Power
    329
    God you guys suck, the dot after the cp flag signifies that it's using the current working directory as the classpath. You can't set the classpath to "*.java".

    R4nger 0wnz, go to the C:\Program Files\Java\ directory in your computer and tell me what folders you see in there.
    rest in peace Qemist, Izzy, Colton, TeChNo PuNk, Impulser, & bootnecklad
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •