using JXTA with NeatBeans

View: New views
2 Messages — Rating Filter:   Alert me  

using JXTA with NeatBeans

by nisyros :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to connect jxta jar files with a project in the NeatBeans. I right click Libraries and insert the jar files and after that the jar files appear at the rleft hand of the window, in the Project Window. So far it's ok. But at the compilation i get the message
bad class file: E:\ForJava\JXTA\jxta.jar(net/jxta/peergroup/PeerGroup.class)

class file has wrong version 49.0, should be 48.0

Please remove or make sure it appears in the correct subdirectory of the classpath.

import net.jxta.peergroup.PeerGroup;

1 error

BUILD FAILED (total time: 1 second)
what' s going on? Help

Re: using JXTA with NeatBeans

by Luis Daniel Arrieta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nisyros....
that is because JXTA supports jdk 1.5.0 + but no 1.4
i hope to help
Excuse my englis... it is not very good

nisyros wrote:
I am trying to connect jxta jar files with a project in the NeatBeans. I right click Libraries and insert the jar files and after that the jar files appear at the rleft hand of the window, in the Project Window. So far it's ok. But at the compilation i get the message
bad class file: E:\ForJava\JXTA\jxta.jar(net/jxta/peergroup/PeerGroup.class)

class file has wrong version 49.0, should be 48.0

Please remove or make sure it appears in the correct subdirectory of the classpath.

import net.jxta.peergroup.PeerGroup;

1 error

BUILD FAILED (total time: 1 second)
what' s going on? Help
LightInTheBox - Buy quality products at wholesale price