View Full Version : need help with client compile error
XxBryantD
June 20th, 2010, 16:35
ok so i think i need method for downloadcache can any1 help find
got this error when doing this tut Only the registered members can see the link.
client.java:4138: cannot find symbol
symbol : method downloadcache(java.lang.String,java.lang.String,ja va.lang.Strin
g,java.lang.String)
location: class client
downloadcache("Only the registered members can see the link.", "cache.zip", "", "cache
");
^/code]
line 4138 to 4147
[code] if(aClass14Array970[0] != null)
{
abyte0 = aClass14Array970[0].method233(true, i);
}
if(abyte0 == null)
{
method13(15, (byte)4, "Downloading Cache");
downloadcache("Only the registered members can see the link.", "cache.zip", "", "cache");
}
if(aClass14Array970[0] != null)
Break
June 20th, 2010, 16:38
Wow this is to confusing, And I'm not a client coder.
But I think you forgot to add imports.
XxBryantD
June 21st, 2010, 00:03
help please
Avoid
June 21st, 2010, 01:21
Go to the 4,138th line in your client.java file and post that line here.
(If you're using Notepad++ then it should be no problem).
Fenway`
June 21st, 2010, 01:30
do what avoid said and then change the "downloadcache" line to this:
downloadcache("Only the registered members can see the link.", "cache.zip", "", "cache
",);
you need a comma :p
XxBryantD
June 21st, 2010, 03:49
really need this
Relapse
June 21st, 2010, 03:52
Is this one of those clients that downloads the cache upon starting?
This give me too many problems...
The Soul
June 21st, 2010, 03:54
You don't have the downloadcache() method.
Peter
June 21st, 2010, 04:01
Here I have the compiler that could be a use;
@echo off
@TITLE Pete's compiler
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.
:end
echo Finished!
pause
exit
The Soul
June 21st, 2010, 04:17
Here I have the compiler that could be a use;
That's not the problem.
bloodpk3r
June 21st, 2010, 13:10
it states the error as cannot find symbol.. which means it cannot find that method.. it expects to find a method called
method downloadcache(java.lang.String,java.lang.String,ja va.lang.Strin
g,java.lang.String)
in client.java but cannot find it so you need to get that method and put it into client.java to fix your problem? perhaps you missed a part from the tutorial
or your going to have to ask someone for that method?
XxBryantD
June 21st, 2010, 19:43
ok so who has the method and where i add i
my pker pure
June 21st, 2010, 19:55
You should have posted here -->Only the registered members can see the link.!-I-will-answer-nearly-all&highlight=compiler
But anyway i presume you have the latest version on JDK so just right click your compiler then on "edit" and delete the code & replace with this.
@echo off
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%\Internet Explorer\iexplore.exe" Only the registered members can see the link.
:end
echo Finished!
pause
exit
XxBryantD
June 21st, 2010, 20:42
lol umm this has nothing to do with the compiler
Fenway`
June 21st, 2010, 20:49
how can the compiler possibly be the problem if it found the specified path and then discovered the error. declare a downloadcache method or compare it to another client
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.