You are viewing our Forum Archives. To view or take place in current topics click here.
Javac: file not found .*java compile error
Posted:
Javac: file not found .*java compile errorPosted:
Status: Offline
Joined: Nov 01, 201113Year Member
Posts: 372
Reputation Power: 14
Status: Offline
Joined: Nov 01, 201113Year Member
Posts: 372
Reputation Power: 14
So I started trying to make a RSPS but I ran into a few problems. The first one I fixed by making environment variables and then this started coming up.
javac: file not found: *.java
Usage: javac <options> <source files>
use -help for a list of possible options
Press any key to continue . . .
Does anyone know how to fix this problem? I have been trying for about 4 hours and I even tried searching for fixes but I cannot find any. If this helps this is what it says in my edit part for the compiler for a server.
MY compiler.bat:
@
javac: file not found: *.java
Usage: javac <options> <source files>
use -help for a list of possible options
Press any key to continue . . .
Does anyone know how to fix this problem? I have been trying for about 4 hours and I even tried searching for fixes but I cannot find any. If this helps this is what it says in my edit part for the compiler for a server.
MY compiler.bat:
@
echo off
title Compiler; Dream-scape317
:build
cls
"C:\Program Files\Java\jdk1.7.0_09\bin\javac.exe" -classpath deps/VotePlugin.jar;deps/log4j-1.2.15.jar;deps/jython.jar;deps/xstream.jar;deps/mina.jar;deps/mysql.jar;deps/poi.jar;deps/slf4j.jar;deps/slf4j-nop.jar -d bin src\server\event\*.java src\server\model\items\*.java src\server\model\minigames\*.java src\server\model\npcs\*.java src\server\model\objects\*.java src\server\model\players\*.java src\server\model\players\skills\*.java src\server\model\players\packets\*.java src\server\world\map\*.java src\server\model\shops\*.java src\server\net\*.java src\server\task\*.java src\server\util\*.java src\server\world\*.java src\server\util\log\*.java src\server\*.java src\server\clip\region\*.java src\server\clip\*.java src\server\model\players\combat\range\*.java
pause
goto :build
title Compiler; Dream-scape317
:build
cls
"C:\Program Files\Java\jdk1.7.0_09\bin\javac.exe" -classpath deps/VotePlugin.jar;deps/log4j-1.2.15.jar;deps/jython.jar;deps/xstream.jar;deps/mina.jar;deps/mysql.jar;deps/poi.jar;deps/slf4j.jar;deps/slf4j-nop.jar -d bin src\server\event\*.java src\server\model\items\*.java src\server\model\minigames\*.java src\server\model\npcs\*.java src\server\model\objects\*.java src\server\model\players\*.java src\server\model\players\skills\*.java src\server\model\players\packets\*.java src\server\world\map\*.java src\server\model\shops\*.java src\server\net\*.java src\server\task\*.java src\server\util\*.java src\server\world\*.java src\server\util\log\*.java src\server\*.java src\server\clip\region\*.java src\server\clip\*.java src\server\model\players\combat\range\*.java
pause
goto :build
#2. Posted:
Status: Offline
Joined: Nov 08, 201113Year Member
Posts: 1,188
Reputation Power: 101
Status: Offline
Joined: Nov 08, 201113Year Member
Posts: 1,188
Reputation Power: 101
.bat version: Edit = Notepad.
find you computers java and copy the file locaton.
example: "C:\My Documents\Files\(x86) Files\Java\Bin\Javac.exe"
Like that.
^^ Delete the rest you have, you need only that.
find you computers java and copy the file locaton.
example: "C:\My Documents\Files\(x86) Files\Java\Bin\Javac.exe"
Like that.
^^ Delete the rest you have, you need only that.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.