Reputation: 3
I want to use peer 2 peer in Java, and I came across this question: Developing Peer to Peer application in Java
They advised to use JXSE/JXTA. It was pretty hard just to download the things I needed because the links are dead. I eventually managed to downloaded JXTA and tried to do the tutorial they provide, however, I get the following error message:
jxta-jxse-2.5-sources.jar(net/jxta/id/jxta/IDFormat.java):101: warning: [deprecation] URIInstantiator in IDFactory has been deprecated
public static final IDFactory.URIInstantiator INSTANTIATOR = new Instantiator();
^
jxta-jxse-2.5-sources.jar(net/jxta/id/jxta/Instantiator.java):85: warning: [deprecation] URIInstantiator in IDFactory has been deprecated
final class Instantiator implements net.jxta.id.IDFactory.URIInstantiator {
So basically, a deprecated API. However, the website of JXTA says to use java version +1.4. I have already tried with the java 8,7,6, 1.4 and every single time I get the problem
Is JXTA completely outdated or how can I solve this
Upvotes: 0
Views: 327