You are viewing our Forum Archives. To view or take place in current topics click here.
Compiler Not Working...
Posted:

Compiler Not Working...Posted:

RSK
  • Powerhouse
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 430
Reputation Power: 30
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 430
Reputation Power: 30
So I have updated my JDK and even direct linked the javac.exe and put it in quotations. With that said, when I start it up, I still get errors. Here's a look at the compiler.
@echo off
"C:\Program Files\Java\jdk1.8.0_20\bin\javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/game/player/Player.java
echo compiled Player folder
"C:\Program Files\Java\jdk1.8.0_20\bin\javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/Launcher.java
echo compiled Server folder
"C:\Program Files\Java\jdk1.8.0_20\bin\javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/game/player/dialogues/*.java
echo compiling Dialogues
"C:\Program Files\Java\jdk1.8.0_20\bin\javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/*.java
echo compiled Main Server Folder
"C:\Program Files\Java\jdk1.8.0_20\bin\javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/game/player/content/*.java
echo compiled Main Server Folder
"C:\Program Files\Java\jdk1.8.0_20\bin\javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/net/decoders/handlers/*.java
echo Compiled all Successfully
pause


This is the error I get [ Register or Signin to view external links. ]
Any help would be greatly appreciated
BTW I'm using Poanizer which is a 667 source.
#2. Posted:
TBE
  • Powerhouse
Status: Offline
Joined: Dec 22, 201212Year Member
Posts: 410
Reputation Power: 20
Status: Offline
Joined: Dec 22, 201212Year Member
Posts: 410
Reputation Power: 20
Use this:

@echo off
title Your Server Name Here Compiler
echo compiling...
"C:\Program Files\Java\jdk1.8.0_20/bin/javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/*.java src/com/rs/cache/*.java src/com/rs/cache/loaders/*.java src/com/rs/cores/*.java src/com/rs/game/*.java src/com/rs/game/item/*.java src/com/rs/game/minigames/*.java src/com/rs/game/npc/*.java src/com/rs/game/npc/combat/*.java src/com/rs/game/npc/combat/impl/*.java src/com/rs/game/npc/corp/*.java src/com/rs/game/npc/dragons/*.java src/com/rs/game/npc/dungeonnering/*.java src/com/rs/game/npc/familiar/*.java src/com/rs/game/npc/godwars/*.java src/com/rs/game/npc/godwars/armadyl/*.java src/com/rs/game/npc/godwars/bandos/*.java src/com/rs/game/npc/godwars/barrows/*.java src/com/rs/game/npc/godwars/saradomin/*.java src/com/rs/game/npc/godwars/zammorak/*.java src/com/rs/game/npc/godwars/zaros/*.java src/com/rs/game/npc/kalph/*.java src/com/rs/game/npc/others/*.java src/com/rs/game/npc/slayer/*.java src/com/rs/game/player/*.java src/com/rs/game/player/actions/*.java src/com/rs/game/player/content/*.java src/com/rs/game/player/content/dungeoneering/*.java src/com/rs/game/player/content/dungeoneering/rooms/*.java src/com/rs/game/player/controlers/*.java src/com/rs/game/player/cutscenes/*.java src/com/rs/game/player/cutscenes/actions/*.java src/com/rs/game/player/dialogues/*.java src/com/rs/game/player/quests/*.java src/com/rs/game/player/quests/impl/*.java src/com/rs/game/punish/*.java src/com/rs/game/tasks/*.java src/com/rs/io/*.java src/com/rs/net/*.java src/com/rs/net/decoders/*.java src/com/rs/net/decoders/handlers/*.java src/com/rs/net/encoders/*.java src/com/rs/tools/*.java src/com/rs/utils/*.java src/com/rs/utils/huffman/*.java
pause


Sorry this took so long.
#3. Posted:
-3Dz-
  • Powerhouse
Status: Offline
Joined: Feb 24, 201212Year Member
Posts: 414
Reputation Power: 16
Status: Offline
Joined: Feb 24, 201212Year Member
Posts: 414
Reputation Power: 16
It's cuz your compiler is not finding the right files Aka, You need make the path go to them files. There is many Compiler codes out there.


@echo off
echo Compiling
"C:/Program Files/Java/jdk1.7.0_55/bin/javac.exe" -d bin -cp data/libs/*; -sourcepath src src/com/rs/*.java
echo Complete
pause


Just change the Java to yours and how the path is set in your Source. As you see the -sourcepath src src/com/rs/*.java That's what you would change if your Source is diff with the Path, Or you can try the other code the Guy posted on this topic.
#4. Posted:
RSK
  • Powerhouse
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 430
Reputation Power: 30
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 430
Reputation Power: 30
Thanks to you both for helping, but I already figured it out Rep to you both though!
#5. Posted:
C-17
  • Christmas!
Status: Offline
Joined: Aug 27, 201311Year Member
Posts: 1,312
Reputation Power: 52
Status: Offline
Joined: Aug 27, 201311Year Member
Posts: 1,312
Reputation Power: 52
RSK wrote Thanks to you both for helping, but I already figured it out Rep to you both though!
Are you making an RSPS or something? I have no idea about this btw.
#6. Posted:
RSK
  • Powerhouse
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 430
Reputation Power: 30
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 430
Reputation Power: 30
Yeah, while trying to compile everything, I was getting errors, and I was just trying to figure it out gonna request this thread to be closed.
#7. Posted:
Ashly
  • Prospect
Status: Offline
Joined: Oct 25, 201311Year Member
Posts: 684
Reputation Power: 43
Status: Offline
Joined: Oct 25, 201311Year Member
Posts: 684
Reputation Power: 43
RSK If you get the RSPS Open HMU.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.