Thread: Make simple compiler (NEWB FRIENDLY)

Results 1 to 6 of 6
  1. #1 Make simple compiler (NEWB FRIENDLY) 
    Registered Member

    Join Date
    Nov 2007
    Posts
    405
    Thanks given
    0
    Thanks received
    0
    Rep Power
    114
    Purpose: Learn about making compilers
    Difficulty: 0.5/10
    Assumed Knowledge: Locate your computer, Copy+Paste
    Server base: Umm, any?
    Classes Modified: compile.bat

    OBSERVE! YOU NEED JAVA DEVOLPMENT KIT FOR THIS
    __________________________________________________ __________________________
    This my first tut, please dont spam or flame...

    Ok, first you need a server base =/

    Open it up and search for Compiler.bat
    Right-click it and press "Edit". (ON SWEDISH COMPUTERS IT WOULD BE) "Redigera"
    A window will pop up. Plopp! It will be something like this:
    Code:
    @echo off
    color 0a
    javac *.java
    pause
    That's what it could be, whatever!
    Now! To make it work compiling,
    On computers from america and england it would be like this:
    Code:
    @echo off
    color 0a
    C:/Program Files/Java/jdk1.6.0_02/bin/javac *.java
    pause
    That is where your Java folder with the "JAVAC" is, now if you have JDK 1.6 Update 3 change the jdk1.6.0_02 to:
    Code:
    jdk1.6.0_03
    Get what i mean? *_03 is the update of your JDK
    If you did it right, when you compile it will look something like this:

    Code:
    Note: stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Press any button to continue...
    That is what it stands for me, if it doesn't look like that, you wrote where your jdk is wrong, so you have to locate it =(

    Hope you enjoyed my tut, not so advanced

    ++r3p if you want // Lemon
     

  2. #2  
    Dharok
    Guest
    Are you lemon from ReenScape? If you are, PM me. (c)
     

  3. #3  
    I'm unique


    Join Date
    Oct 2006
    Age
    32
    Posts
    708
    Thanks given
    0
    Thanks received
    1
    Rep Power
    82
    Good tutorials for beginners
    Sincerly yours,
    Simox.
     

  4. #4  
    Registered Member
    Join Date
    Jul 2007
    Posts
    112
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    I agree with simox its a very useful tut for beginners..
    PSN ID: Chaseowns
    add me if you want

    A proud Donator of Rune-Server
     

  5. #5  
    Registered Member Aggi's Avatar
    Join Date
    Oct 2007
    Posts
    687
    Thanks given
    203
    Thanks received
    49
    Rep Power
    111
    rofl nice and not nice both
     

  6. #6  
    Registered Member

    Join Date
    Nov 2007
    Posts
    405
    Thanks given
    0
    Thanks received
    0
    Rep Power
    114
    Well, I've played on many server
    My names:

    DragooN
    Lemon
    Lemonslayer
    LemonPKER
    Why you wonder?
     


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
  •