Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3k views
in Java FTP by (260 points)
Hi all,

Anyone any idea why I get this message when I run some code using edtftp?

DEBUG [SocketUtils] 9 Jun 2007 15:27:41.109 : Could not use Socket.isConnected (java.lang.NoSuchMethodException)

I am using jbuilder and will post the code if necessary, but thought i'd ask the question in case its a common one!! (I did do a search of the board but didn't find anything)

Any help is appreciated.

Kind regards
Ota

2 Answers

0 votes
by (162k points)
The connected() method uses Socket.isConnected() - which is only available in Java 1.4+. Reflection is used to invoke the method if it is available - otherwise a message is logged as you've seen.

So I assume you are using a version of Java lower than this.
0 votes
by (260 points)
Ah!! I see. :D

Having a little trouble installing the JDK 1.4 in jbuilder at the moment....

Thanks for the advise.

Categories

...