|
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..
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:
As you can see on the left there appeared a package explorer, right click in here > new > java project(picture below).
.
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.
This what i'm using.. put them in the main folder at the top
server:
client:Code:@echo off "C:/Program Files/Java/jdk1.8.0_77/bin/javac.exe" -d bin -cp deps/*; -sourcepath src src\rs2\*.java pause
So like you didnt tell compiler where to put class files and where to find java filesCode:@echo off Title Compiler "C:\Program Files\Java\jdk1.8.0_77\bin\javac.exe" -d ./bin/ src/*.java pause
and change to ur vers JDk obv
this is basic to do but thanks anyways for contribution man!
Last edited by Michael; 07-23-2016 at 12:20 AM.
Last edited by Michael; 07-23-2016 at 12:20 AM.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |