|
hey im getting trouble from my compiler for a source i have, don't know what seems to be the problem if anyone can explain/help?
Compiler Code.
What I get when i try to compile.Code:@echo off title Compiler echo Compiling... "C:\Program Files\Java\jdk1.6.0_21\bin\javac.exe" -d ./bin ./Server/*.java pause cls
Code:Compiling... javac: file not found: .\Server\*.java Usage: javac <options> <source files> use -help for a list of possible options Press any key to continue . . .
317 Server Compile // Just add this to your compile.bat
@echo off
:menu
title TradgiK Compiler
echo Errors:
if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
:compile
for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
if defined p (%p% -cp . *.java)
if defined p (goto end)
:error
echo You do not have Java installed. Please download it at the site that is about to load.
"%programfiles%\InternetExplorer\iexplore.exe" Java SE Downloads
:end
echo Compiling Finished.
pause
exit
same error i get from the last one i thinks its something aboutt the files
are you using windows 7?
nope windows vista
change the 21 to 22 if that does not work try changing it to 23 or even back down to 19 or 20 but 22 should work
Change that toCode:@echo off title Compiler echo Compiling... "C:\Program Files\Java\jdk1.6.0_21\bin\javac.exe" -d ./bin ./Server/*.java pause clsCode:@echo off title Compiler echo Compiling... "C:\Program Files\Java\jdk1.6.0_22\bin\javac.exe" -d ./bin ./Server/*.java pause cls
nothing worked i dont think its java
Hi, can you tell us what source you are using? Also are you running a 32 bit or 64 bit computer? With this information, i beleive i can help you
A few things, first of all try looking where your java JDK is downloaded for example is it Program Files(x64) or Program files, what version of JDK and environmental variables granted you have all of these correctly you would have no errors if not I recommend looking up a starting server tutorial. I hope you get to the bottom of it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |