Alright, I am an extreme newb when it comes to coding and I am trying to compile a rsps (private server) just as a start. It comes with a batch file that would usually work, but I think I had to upgrade the java version and directory. So I did. Then when I tried to run it, cmd popped up and gave the error " -d is not a recognized option".
Here is the batch code....
@echo off
title Compiler
echo Fixed Compiler By mb
"C:\Program Files\Java\jdk1.7.0_03\bin\java" -d <bin> -cp lib/mysql.jar;lib/netty-3.2.jar;lib/xstream.jar;lib/xpp.jar;xpp3-1.1.4c.jar -sourcepath src src/org/dementhium/RS2Server.java
pause
The original code didnt have the <> around bin. Now that I added those, the cmd prompt says "acess is denied... press any key to continue"
. I know some of you guys might laugh, but I barely know what I am doing.
Java 编译器是javac ,而不是java 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.