Jump to content
  • 0
Sign in to follow this  
Derkmerk

Getting "Unrecognized option: -d" when trying to compile

Question

Just like the title says. I am using Chronicscape 4.5 if that matters. I've tried making the source both my jdk and jre and neither works. I can start the server and client just fine. Any ideas?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
[quote name='Derkmerk']Just like the title says. I am using Chronicscape 4.5 if that matters. I've tried making the source both my jdk and jre and neither works. I can start the server and client just fine. Any ideas?[/QUOTE]

Replace your compiler with mine to get it working.
[COLOR=#E6E1DC][FONT=monospace]
[/FONT][/COLOR][CODE] @[B][URL="http://www.runelocus.com/forums/member.php?u=7458"]echo[/URL][/B] off
title ChronicScape Compiler
echo Compiling has started.
"C:\Program Files\Java\jdk1.7.0_XX\bin\javac.exe" -d bin -cp lib/*; -sourcepath src src/com/rs/*.java @[B][URL="http://www.runelocus.com/forums/member.php?u=7458"]echo[/URL][/B] Compiling has completed.
pause
[/CODE]

Also for future reference, -d means directory! Which is the folder bin. Hope that helps! Replace XX with your version of JDK.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×