Thread: hmm compiling problem

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 hmm compiling problem 
    Mason
    Mason's Avatar
    Join Date
    Jun 2007
    Age
    29
    Posts
    188
    Thanks given
    0
    Thanks received
    0
    Rep Power
    14
    well ive just spent the last half hour downloading a bunch of jdk6 stuff and i still get this



    any suggestions? my compiler is

    @echo off
    title Server Compiler
    "C:\Program Files\Java\jdk1.5.0_06\bin\javac.exe" -cp . *.java
    pause
     

  2. #2  
    Registered Member
    Oblakastouf's Avatar
    Join Date
    Mar 2007
    Age
    32
    Posts
    1,194
    Thanks given
    0
    Thanks received
    1
    Rep Power
    274
    You're a failure at life, I think that may be the problem.
    Um... Bored.
     

  3. #3  
    Mason
    Mason's Avatar
    Join Date
    Jun 2007
    Age
    29
    Posts
    188
    Thanks given
    0
    Thanks received
    0
    Rep Power
    14
    yeah um stfu *****
     

  4. #4  
    Registered Member
    Oblakastouf's Avatar
    Join Date
    Mar 2007
    Age
    32
    Posts
    1,194
    Thanks given
    0
    Thanks received
    1
    Rep Power
    274
    Then post in the right section, negro.
    Um... Bored.
     

  5. #5  
    treehug
    Guest
    seriously, your an idiot. you've posted about 10 PROBLEMS in the TUTORIAL section... dont you every learn? kthxbai
     

  6. #6  
    Mason
    Mason's Avatar
    Join Date
    Jun 2007
    Age
    29
    Posts
    188
    Thanks given
    0
    Thanks received
    0
    Rep Power
    14
    maybe id learn if som1 wud ****ing help me insted of flaming me
     

  7. #7  
    Icy Realm Owner
    Icy Whip's Avatar
    Join Date
    May 2007
    Posts
    1,419
    Thanks given
    30
    Thanks received
    35
    Rep Power
    213
    right click edit compiler delete everything in there and past this into it
    Code:
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::                                                        ::
    :: All of the following code is (C) Copywrited 2006-2007, ::
    ::               Grene Penguin Entertainment.             ::
    ::                                                        ::
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    @echo off
    if exist "C:\Program Files (x86)\Java\" set programfiles=C:\Program Files (x86)
    set pr=%programfiles%\Java\
    :co1
    set b=0
    set t=7
    goto co2
    :co2
    color %b%%t%
    :menu
    cls
    title Hoodoo's ObeyPK Source Compiler
    echo Please choose an option below to do that function.
    echo This is the compiler to show it's my source. Credits to
    echo Mod Taharok, because he made this compiler, not me :)
    echo.
    echo c - Compile the files.
    echo r - Run the server.
    echo e - Exit.
    echo jar - Create a Jar file of the server.
    echo color - Change the Text and Backround colors of this compiler.
    echo reset - Resets your Compiler Logs.
    echo.
    echo.
    set /p c=Option: 
    if %c%==c goto c
    if %c%==C goto c
    if %c%==r goto r
    if %c%==R goto r
    if %c%==jar goto jar
    if %c%==Jar goto jar
    if %c%==JAR goto jar
    if %c%==color goto color
    if %c%==Color goto color
    if %c%==COLOR goto color
    if %c%==reset goto reset
    if %c%==Reset goto reset
    if %c%==RESET goto reset
    if %c%==e goto e
    if %c%==E goto e
    if %c%==* goto er
    goto er
    :jar
    title Jar Creator
    cls
    echo What will be the name of the Jar file?
    echo.
    set /p name=Name: 
    if exist *.class (del *.class)
    set pro=%pr%jdk1.5.0
    set pro2=%pr%jdk1.6.0
    set jav=bin\javac.exe
    set go=jar2
    goto cj
    :jar2
    %java% -cp . *java
    echo Manifest-Version: 1.0 >> manifest
    echo Created-By: 1.5.0_04 (Sun Microsystems Inc.) >> manifest
    echo Main-Class: server >> manifest
    set pro=%pr%jdk1.5.0
    set pro2=%pr%jdk1.6.0
    set jav=bin\jar.exe
    set go=jar3
    goto cj
    :jar3
    if not exist *.class (goto jre)
    %java% -cvfm %name%.jar manifest *.class
    del runserver.bat
    del manifest
    del *.class
    goto jl
    :jar4
    set pro=%pr%jre1.5.0
    set pro2=%pr%jre1.6.0
    set jav=bin\java.exe
    set go=jar5
    goto cj
    :jar5
    echo @echo off  >> runserver.bat
    echo title %name% >> runserver.bat
    echo %java% -cp .;%name%.jar server >> runserver.bat
    echo pause >> runserver.bat
    cls
    echo %name% Jar file successfully made. The runserver.bat will
    echo now load the Jar file. If you have any errors while runnning
    echo the Jar file, please post about it in Mod Taharok's 'Perfect
    echo Compiler' topic on MoparScape.
    pause
    goto menu
    set 
    :color
    cls
    echo Would you like to change the backround color, change
    echo the text color, or reset it to default?
    echo.
    echo back - Change the backround color.
    echo text - Change the text color.
    echo def - Change all colors back to default.
    echo.
    echo.
    set /p color=Option: 
    if %color%==back goto back
    if %color%==BACK goto back
    if %color%==text goto text
    if %color%==TEXT goto text
    if %color%==def goto co1
    if %color%==DEF goto co1
    if %color%==* goto er
    goto er
    :back
    cls
    echo Please select a color to change the backround to:
    echo.
    echo black
    echo white
    echo red
    echo yellow
    echo green
    echo blue
    echo purple
    echo.
    echo.
    set /p back=Color: 
    if %back%== black (set b=0)
    if %back%== white (set b=7)
    if %back%== red (set b=4)
    if %back%== yellow (set b=6)
    if %back%== green (set b=2)
    if %back%== blue (set b=1)
    if %back%== purple (set b=5)
    goto co2
    :text
    cls
    echo Please select a color to change the text to:
    echo.
    echo black
    echo white
    echo red
    echo yellow
    echo green
    echo blue
    echo purple
    echo.
    echo.
    set /p back=Color: 
    if %back%== black (set t=0)
    if %back%== white (set t=7)
    if %back%== red (set t=4)
    if %back%== yellow (set t=6)
    if %back%== green (set t=2)
    if %back%== blue (set t=1)
    if %back%== purple (set t=5)
    goto co2
    :c
    cls
    title Compiler
    set pro=%pr%jdk1.5.0
    set pro2=%pr%jdk1.6.0
    set jav=bin\javac.exe
    set go=c2
    goto cj
    :c2
    if exist src (goto cl) else (goto c3)
    :c3
    if exist *.java (goto cl2) else (goto ce)
    :c4
    %java% -cp . *.java
    echo ObeyPK has been compiled successfully
    pause
    cls
    goto menu
    :c5
    %java% -cp . .\src\*.java
    echo Obey PK has been compiled successfully
    pause
    move .\src\*.class .\classes\
    cls
    goto menu
    :ce
    cls
    echo You must have Java files for this Compiler to Compile.
    pause
    cls
    goto menu
    :r
    cls
    title Hoodoo's Runserver
    set pro=%pr%jre1.5.0
    set pro2=%pr%jre1.6.0
    set jav=bin\java.exe
    set go=r2
    goto cj
    :r2
    set rjava=%java% -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
    cls
    goto r3
    :r3
    if exist .\classes\server.class (goto sl2) else (goto r4)
    :r4
    if exist .\server.class (goto sl) else (goto se)
    :r5
    %rjava%
    pause
    cls
    goto menu
    :r6
    set rjava=
    set rjava=%java% -cp .;./classes; Server
    %rjava%
    pause
    cls
    goto menu
    :se
    cls
    title Error
    echo You do not have a Server.class. Make sure that you have used the
    echo compiler with your server BEFORE you try runing it.
    pause
    cls
    goto menu
    :er
    cls
    title Error
    echo Invalid command. Please make sure the commands you type
    echo in are correct.
    pause
    cls
    goto menu
    :e
    cls
    exit
    :cj
    if exist "%pro2%_01\%jav%" (goto sj)
    if exist "%pro2%\%jav%" (goto sj2)
    if exist "%pro%_10\%jav%" (goto sj3)
    if exist "%pro%_09\%jav%" (goto sj4)
    if exist "%pro%_08\%jav%" (goto sj5)
    if exist "%pro%_07\%jav%" (goto sj6)
    if exist "%pro%_06\%jav%" (goto sj7)
    if exist "%pro%_05\%jav%" (goto sj8)
    if exist "%pro%_04\%jav%" (goto sj9)
    if exist "%pro%_03\%jav%" (goto sj10)
    if exist "%pro%_02\%jav%" (goto sj11)
    if exist "%pro%_01\%jav%" (goto sj12)
    if exist "%pro%\%jav%" (goto sj13) else (goto je)
    :sj
    set java="%pro2%_01\%jav%"
    goto %go%
    :sj2
    set java="%pro2%\%jav%"
    goto %go%
    :sj3
    set java="%pro%_10\%jav%"
    goto %go%
    :sj4
    set java="%pro%_09\%jav%"
    goto %go%
    :sj5
    set java="%pro%_08\%jav%"
    goto %go%
    :sj6
    set java="%pro%_07\%jav%"
    goto %go%
    :sj7
    set java="%pro%_06\%jav%"
    goto %go%
    :sj8
    set java="%pro%_05\%jav%"
    goto %go%
    :sj9
    set java="%pro%_04\%jav%"
    goto %go%
    :sj10
    set java="%pro%_03\%jav%"
    goto %go%
    :sj11
    set java="%pro%_02\%jav%"
    goto %go%
    :sj12
    set java="%pro%_01\%jav%"
    goto %go%
    :sj13
    set java="%pro%\%jav%"
    goto %go%
    :je
    cls
    title Error
    echo You do not have JDK 5.0 or JDK 6.0 or any JDK 5.0 and 6.0 updates.
    echo Go to Mod Taharok's tutorial on the Moparscape Tuturoials section
    echo for step-by-step instructions to download the newest JDK Update.
    pause
    cls
    goto menu
    :sl
    cls
    echo Ran Server at %time% and on %date%. >> "Compile Logs.txt"
    echo Server was run using %java%. >> "Compile Logs.txt"
    echo Thank you for using Mod Taharok's 'Perfect' Compiler! >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto r5
    :sl2
    cls
    echo Ran Server at %time% and on %date%. >> "Compile Logs.txt"
    echo Server was run using %java%. >> "Compile Logs.txt"
    echo Thank you for using Mod Taharok's 'Perfect' Compiler! >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto r6
    :cl
    cls
    echo Compiled Java files at %time% and on %date%. >> "Compile Logs.txt"
    echo Java files were compiled using %java%. >> "Compile Logs.txt"
    echo Thank you for using Mod Taharok's 'Perfect' Compiler! >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto c5
    :cl2
    cls
    echo Compiled Java files at %time% and on %date%. >> "Compile Logs.txt"
    echo Java files were compiled using %java%. >> "Compile Logs.txt"
    echo Thank you for using Mod Taharok's 'Perfect' Compiler! >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto c4
    :jl
    cls
    echo %name% Jar file created at %time% and on %date%. >> "Compile Logs.txt"
    echo Jar file was created using %java%. >> "Compile Logs.txt"
    echo Thank you for using Mod Taharok's 'Perfect' Compiler! >> "Compile Logs.txt"
    echo. >> "Compile Logs.txt"
    goto jar4
    :reset
    cls
    echo Resetting the Compiler's Logs...
    pause
    del "Compile Logs.txt"
    goto menu


    Signature made by Mr. Ervis

    Any questions, MSN me; [email protected]
     

  8. #8  
    Registered Member
    Pablo's Avatar
    Join Date
    Oct 2007
    Age
    30
    Posts
    808
    Thanks given
    0
    Thanks received
    0
    Rep Power
    91
    Look at the other same problem on this I posted the correct way to fix..
    [Today 09:32 PM] Im An Angel: You didnt have to tell everyone.
    [Today 09:32 PM] Shiver: Ur dick is small stfu
     

  9. #9  
    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
    Post in the right ****ing section, there's a HELP SECTION for a reason you daft *****.
    rest in peace Qemist, Izzy, Colton, TeChNo PuNk, Impulser, & bootnecklad
     

  10. #10  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    some of u must really have nothing to do if ur going to sit there and fight with him
     

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
  •