Thread: AbyssalPK Client Compiler

Results 1 to 8 of 8
  1. #1 AbyssalPK Client Compiler 
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    I need help understanding how to develop a compiler for AbyssalPK located in the RS2 Downloads section
    @echo off
    @title Compile
    echo Compiling...
    "C:/Program Files/java/jdk1.8.0_101/bin/java.exe" Javac *.java
    pause
    exit

    As of now I am getting could not find main class Javac *.java
    I also tried *.java still nothing..
    Reply With Quote  
     

  2. #2  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by Solid Snake View Post
    I need help understanding how to develop a compiler for AbyssalPK located in the RS2 Downloads section
    @echo off
    @title Compile
    echo Compiling...
    "C:/Program Files/java/jdk1.8.0_101/bin/java.exe" Javac *.java
    pause
    exit

    As of now I am getting could not find main class Javac *.java
    I also tried *.java still nothing..
    the command is wrong

    "C:/Program Files/java/jdk1.8.0_101/bin/javac.exe" *.java
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Mar 2012
    Posts
    105
    Thanks given
    28
    Thanks received
    33
    Rep Power
    0
    Quote Originally Posted by Solid Snake View Post
    I need help understanding how to develop a compiler for AbyssalPK located in the RS2 Downloads section
    @echo off
    @title Compile
    echo Compiling...
    "C:/Program Files/java/jdk1.8.0_101/bin/java.exe" Javac *.java
    pause
    exit

    As of now I am getting could not find main class Javac *.java
    I also tried *.java still nothing..
    Use an IDE, It's 2016 man. :3
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member mintal's Avatar
    Join Date
    Nov 2011
    Posts
    85
    Thanks given
    1
    Thanks received
    8
    Rep Power
    16
    I suggest you to use an IDE instead of using batch files to compile your code.

    Here is the IDE I suggest: eclipse.
    On the right side you will see the download links, select the proper download link for your operating system.

    Once you've downloaded the package extract it somewhere onto your pc and open eclipse.exe.
    You'll notice that you need to set a default workspace, check the checkbox use this as default and do not ask again and press ok.
    After Eclipse is loaded there is a welcome screen, close it by pressing the X button shown on the picture down below:
    Attached image

    As you can see on the left there appeared a package explorer, right click in here > new > java project(picture below).
    Attached image.

    A new window should open, uncheck use default location and under that click the Browse... button.
    Select the location of the folder where your server source is located.

    After that hit the finish button. You succesfully "imported" your source!

    Hope this will help you.
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Nov 2010
    Posts
    1,528
    Thanks given
    1,017
    Thanks received
    348
    Rep Power
    240
    This what i'm using.. put them in the main folder at the top

    server:
    Code:
    @echo off
    "C:/Program Files/Java/jdk1.8.0_77/bin/javac.exe" -d bin -cp deps/*; -sourcepath src src\rs2\*.java
    pause
    client:
    Code:
    @echo off
    Title Compiler
    "C:\Program Files\Java\jdk1.8.0_77\bin\javac.exe" -d ./bin/ src/*.java
    pause
    So like you didnt tell compiler where to put class files and where to find java files
    and change to ur vers JDk obv
    None.
    Reply With Quote  
     

  7. #6  
    Banned

    Join Date
    Aug 2011
    Posts
    843
    Thanks given
    541
    Thanks received
    220
    Rep Power
    0
    this is basic to do but thanks anyways for contribution man!
    Last edited by Michael; 07-23-2016 at 12:20 AM.
    Reply With Quote  
     

  8. #7  
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    Quote Originally Posted by mintal View Post
    I suggest you to use an IDE instead of using batch files to compile your code.

    Here is the IDE I suggest: eclipse.
    On the right side you will see the download links, select the proper download link for your operating system.

    Once you've downloaded the package extract it somewhere onto your pc and open eclipse.exe.
    You'll notice that you need to set a default workspace, check the checkbox use this as default and do not ask again and press ok.
    After Eclipse is loaded there is a welcome screen, close it by pressing the X button shown on the picture down below:
    Attached image

    As you can see on the left there appeared a package explorer, right click in here > new > java project(picture below).
    Attached image.

    A new window should open, uncheck use default location and under that click the Browse... button.
    Select the location of the folder where your server source is located.

    After that hit the finish button. You succesfully "imported" your source!

    Hope this will help you.
    They say eclipse is good I want to use eclipse but running source with run.bat works, but the green play button just gives me a bad first impression with some could not find main exception crap I am not sure why, and I also notice I see errors with the source on Eclipse.
    Last edited by Michael; 07-23-2016 at 12:20 AM.
    Reply With Quote  
     

  9. #8  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by Mojo! View Post
    This what i'm using.. put them in the main folder at the top

    server:
    Code:
    @echo off
    "C:/Program Files/Java/jdk1.8.0_77/bin/javac.exe" -d bin -cp deps/*; -sourcepath src src\rs2\*.java
    pause
    client:
    Code:
    @echo off
    Title Compiler
    "C:\Program Files\Java\jdk1.8.0_77\bin\javac.exe" -d ./bin/ src/*.java
    pause
    So like you didnt tell compiler where to put class files and where to find java files
    and change to ur vers JDk obv
    you got to add alot more ting in the compiler to get all files correct compiled
    Attached image
    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

Similar Threads

  1. client compiler
    By CTucker in forum Help
    Replies: 9
    Last Post: 01-25-2009, 03:25 PM
  2. Proper client compiler.. ? [508]
    By Proffesor Oak in forum Requests
    Replies: 9
    Last Post: 10-19-2008, 11:46 PM
  3. [508] Client Compiler?
    By Noosy in forum RS 503+ Client & Server
    Replies: 5
    Last Post: 09-08-2008, 01:59 AM
  4. Client Compiler
    By light dark in forum Tutorials
    Replies: 0
    Last Post: 02-20-2008, 08:50 PM
  5. New all in 1 client compiler!
    By $Pablo$ in forum Tutorials
    Replies: 28
    Last Post: 12-16-2007, 12:17 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •